diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..9a9f479 --- /dev/null +++ b/.travis.yml @@ -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 \ No newline at end of file diff --git a/images/1.jpg b/images/1.jpg new file mode 100644 index 0000000..01867de Binary files /dev/null and b/images/1.jpg differ diff --git a/images/1.png b/images/1.png new file mode 100644 index 0000000..dce0492 Binary files /dev/null and b/images/1.png differ diff --git a/images/2.jpg b/images/2.jpg new file mode 100644 index 0000000..c9f5c2a Binary files /dev/null and b/images/2.jpg differ diff --git a/images/2.png b/images/2.png new file mode 100644 index 0000000..714b7e1 Binary files /dev/null and b/images/2.png differ diff --git a/images/3.jpg b/images/3.jpg new file mode 100644 index 0000000..6e2f3b3 Binary files /dev/null and b/images/3.jpg differ diff --git a/optimize.sh b/optimize.sh index 2c97072..b6ef4ec 100755 --- a/optimize.sh +++ b/optimize.sh @@ -7,7 +7,7 @@ # Author: VirtuBox # License: M.I.T # ---------------------------------------------------------------------------- -# Version 1.1 - 2019-04-05 +# Version 1.1 - 2019-07-12 # ---------------------------------------------------------------------------- CSI='\033['