-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
31 lines (24 loc) · 1.03 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
language: php
sudo: true
php:
- 7.1
- 7.2
env:
- LARAVEL_VERSION="5.5.*" TESTBENCH_VERSION="3.5.*"
- LARAVEL_VERSION="5.6.*" TESTBENCH_VERSION="3.6.*"
before_install:
- wget http://de.archive.ubuntu.com/ubuntu/pool/universe/p/pngquant/pngquant_2.5.0-1_amd64.deb
- sudo dpkg -i pngquant_2.5.0-1_amd64.deb
- wget https://launchpad.net/ubuntu/+archive/primary/+files/gifsicle_1.88-1_amd64.deb
- sudo dpkg -i gifsicle_1.88-1_amd64.deb
- wget https://launchpad.net/ubuntu/+archive/primary/+files/jpegoptim_1.4.3-1_amd64.deb
- sudo dpkg -i jpegoptim_1.4.3-1_amd64.deb
# - sudo apt-get install -y pngquant gifsicle jpegoptim (not usable OS is old in travis)
- pngquant --version # 2.5.0 (June 2015)
- jpegoptim --version # jpegoptim v1.4.3 x86_64-pc-linux-gnu (libjpeg version: 8d 15-Jan-2012)
- gifsicle --version # LCDF Gifsicle 1.88
before_script:
- composer self-update
- composer require orchestra/testbench:"$TESTBENCH_VERSION" illuminate/support:"$LARAVEL_VERSION"
- composer install
script: phpunit --coverage-text