2 # - run testsuite for every PHP version
3 # - run lint for every PHP version
4 # - run Selenium for single PHP version
26 - TESTSUITE_PASSWORD=root
27 - TESTSUITE_URL=http://127.0.0.1:8000
30 - ./test/ci-install-$CI_MODE
31 - if [ $TRAVIS_PHP_VERSION != "hhvm" ] ; then phpenv config-add test/php-noprofile.ini ; fi
34 - export PATH=~/.composer/vendor/bin/:$PATH
35 - mysql -uroot -e "CREATE DATABASE IF NOT EXISTS test"
36 - mysql -uroot < sql/create_tables.sql
37 - mysql -uroot -e "SET PASSWORD = PASSWORD('$TESTSUITE_PASSWORD')"
38 - ./test/start-local-server
45 - if [ -f vendor/bin/coveralls ] ; then php vendor/bin/coveralls -v || true ; fi
46 - if [ -f vendor/bin/codacycoverage ] ; then php vendor/bin/codacycoverage clover || true ; fi
47 - if [ -f php.log ] ; then cat php.log ; fi
50 - bash <(curl -s https://codecov.io/bash)
68 - brew tap homebrew/php
70 - brew install ant gettext php70 mariadb
71 - brew link --force gettext
72 - curl https://getcomposer.org/installer | php
73 - ln -s "`pwd`/composer.phar" /usr/local/bin/composer
78 - $HOME/.composer/cache/
82 # trigger Buildtime Trend Service to parse Travis CI log
85 - https://buildtimetrend.herokuapp.com/travis