2 # - run testsuite for every PHP version
3 # - run lint for every PHP version
4 # - run Selenium for single PHP version
22 - TESTSUITE_PASSWORD=root
23 - TESTSUITE_URL=http://127.0.0.1:8000
26 - ./test/ci-install-$CI_MODE
27 - if [ $TRAVIS_PHP_VERSION != "hhvm" ] ; then phpenv config-add test/php-noprofile.ini ; fi
30 - export PATH=~/.composer/vendor/bin/:$PATH
31 - mysql -uroot -e "CREATE DATABASE test"
32 - mysql -uroot < sql/create_tables.sql
33 - mysql -uroot -e "SET PASSWORD = PASSWORD('$TESTSUITE_PASSWORD')"
34 - ./test/start-local-server
41 - if [ -f vendor/bin/coveralls ] ; then php vendor/bin/coveralls -v || true ; fi
42 - if [ -f vendor/bin/codacycoverage ] ; then php vendor/bin/codacycoverage clover || true ; fi
43 - if [ -f ~/.local/bin/codecov ] ; then ~/.local/bin/codecov ; fi
44 - if [ -f php.log ] ; then cat php.log ; fi
58 - $HOME/.composer/cache/
62 # trigger Buildtime Trend Service to parse Travis CI log
65 - https://buildtimetrend.herokuapp.com/travis