File tree Expand file tree Collapse file tree 1 file changed +15
-15
lines changed Expand file tree Collapse file tree 1 file changed +15
-15
lines changed Original file line number Diff line number Diff line change 11sudo : required
22language : php
33
4+ addons :
5+ mariadb : 10.1
6+
47cache :
58 directories :
69 - $HOME/.composer/cache
710
811matrix :
912 include :
10- - php : 7
11- env : cov=1
12- - php : 7
13- env : deps=low
13+ - php : 7.1
14+ env : COVERAGE=1
15+ - php : 7.1
16+ env : DEPS=low
17+ - php : 7.0
1418 - php : nightly
19+ - php : hhvm
1520 allow_failures :
1621 - php : nightly
22+ - php : hhvm
1723 fast_finish : true
1824
1925notifications :
2430 depth : 1
2531
2632install :
27- - echo mysql-apt-config mysql-apt-config/select-server select mysql-5.7 | sudo debconf-set-selections
28- - wget http://dev.mysql.com/get/mysql-apt-config_0.7.3-1_all.deb
29- - sudo dpkg --install mysql-apt-config_0.7.3-1_all.deb
30- - sudo apt-get update -q
31- - sudo apt-get install -q -y -o Dpkg::Options::=--force-confnew mysql-server
32- - sudo mysql_upgrade
33- - if [ "$deps" == "low" ]; then travis_retry composer update --prefer-source --prefer-lowest --prefer-stable --no-interaction; fi
34- - if [ "$deps" != "low" ]; then travis_retry composer install --prefer-source --no-interaction; fi
33+ - if [ "$DEPS" == "low" ]; then travis_retry composer update --prefer-source --prefer-lowest --prefer-stable --no-interaction; fi
34+ - if [ "$DEPS" != "low" ]; then travis_retry composer install --prefer-source --no-interaction; fi
3535
3636before_script :
3737 - mysql -u root -e 'create database telegrambot; use telegrambot; source ./vendor/longman/telegram-bot/structure.sql;'
3838
3939script :
40- - if [[ "$cov " == "1" ]] ; then composer test-cov; fi
41- - if [[ "$cov " != "1" ]] ; then composer test; fi
40+ - if [[ "$COVERAGE " == "1" ]] ; then composer test-cov; fi
41+ - if [[ "$COVERAGE " != "1" ]] ; then composer test; fi
4242
4343after_success :
44- - if [[ "$cov " == "1" ]]; then bash <(curl -s https://codecov.io/bash); fi
44+ - if [[ "$COVERAGE " == "1" ]]; then bash <(curl -s https://codecov.io/bash); fi
4545
4646env :
4747 global :
You can’t perform that action at this time.
0 commit comments