Add travis

This commit is contained in:
VirtuBox 2019-07-12 13:58:53 +02:00
parent 743c1b95d9
commit f6a5576adb
No known key found for this signature in database
GPG Key ID: 22EB296C97BAD476
7 changed files with 23 additions and 1 deletions

22
.travis.yml Normal file
View 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

Binary file not shown.

After

Width:  |  Height:  |  Size: 498 KiB

BIN
images/1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 399 KiB

BIN
images/2.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 645 KiB

BIN
images/2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

BIN
images/3.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 316 KiB

View File

@ -7,7 +7,7 @@
# Author: VirtuBox
# License: M.I.T
# ----------------------------------------------------------------------------
# Version 1.1 - 2019-04-05
# Version 1.1 - 2019-07-12
# ----------------------------------------------------------------------------
CSI='\033['