Add travis
This commit is contained in:
parent
743c1b95d9
commit
f6a5576adb
22
.travis.yml
Normal file
22
.travis.yml
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
sudo: required
|
||||||
|
dist: xenial
|
||||||
|
|
||||||
|
language: bash
|
||||||
|
|
||||||
|
cache:
|
||||||
|
apt: true
|
||||||
|
|
||||||
|
git:
|
||||||
|
quiet: true
|
||||||
|
|
||||||
|
before_script:
|
||||||
|
- sudo apt-get -qq autoremove --purge
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
update: true
|
||||||
|
|
||||||
|
script:
|
||||||
|
- sudo apt-get install jpegoptim optipng cwebp -y
|
||||||
|
- sudo cp optimize.sh /usr/local/bin/img-optimize
|
||||||
|
- sudo chmod 755 /usr/local/bin/img-optimize
|
||||||
|
- /usr/local/bin/img-optimize --all
|
BIN
images/1.jpg
Normal file
BIN
images/1.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 498 KiB |
BIN
images/1.png
Normal file
BIN
images/1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 399 KiB |
BIN
images/2.jpg
Normal file
BIN
images/2.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 645 KiB |
BIN
images/2.png
Normal file
BIN
images/2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 MiB |
BIN
images/3.jpg
Normal file
BIN
images/3.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 316 KiB |
|
@ -7,7 +7,7 @@
|
||||||
# Author: VirtuBox
|
# Author: VirtuBox
|
||||||
# License: M.I.T
|
# License: M.I.T
|
||||||
# ----------------------------------------------------------------------------
|
# ----------------------------------------------------------------------------
|
||||||
# Version 1.1 - 2019-04-05
|
# Version 1.1 - 2019-07-12
|
||||||
# ----------------------------------------------------------------------------
|
# ----------------------------------------------------------------------------
|
||||||
|
|
||||||
CSI='\033['
|
CSI='\033['
|
||||||
|
|
Loading…
Reference in New Issue
Block a user