diff options
author | Stefan Giehl <stefan@piwik.org> | 2018-03-20 13:03:28 +0300 |
---|---|---|
committer | Matthieu Aubry <mattab@users.noreply.github.com> | 2018-03-20 13:03:28 +0300 |
commit | b7a5b45f605c1aed6062726ff73879fd990241eb (patch) | |
tree | 41a9bc5b1b1d355f91d4bfa5531ea1dc0419fce6 /.travis.yml | |
parent | f8aa96f309f4cbbd7c3f0348a128271fca4ae1da (diff) |
skip not required setup parts (#12582)
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 28 |
1 files changed, 7 insertions, 21 deletions
diff --git a/.travis.yml b/.travis.yml index 943fedc5c1..375b1ffa72 100644 --- a/.travis.yml +++ b/.travis.yml @@ -50,13 +50,20 @@ matrix: - php: 5.6 env: TEST_SUITE=UnitTests MYSQL_ADAPTER=PDO_MYSQL sudo: false + addons: false # Javascript tests - php: 5.6 env: TEST_SUITE=JavascriptTests MYSQL_ADAPTER=PDO_MYSQL sudo: false + addons: + apt: + packages: + - nginx + - realpath - php: 5.6 env: TEST_SUITE=AngularJSTests MYSQL_ADAPTER=PDO_MYSQL SKIP_COMPOSER_INSTALL=1 sudo: false + addons: false # All tests after another - php: 5.6 env: TEST_SUITE=AllTests MYSQL_ADAPTER=MYSQLI ALLTEST_EXTRA_OPTIONS="--run-first-half-only" @@ -105,27 +112,6 @@ before_script: # make tmpfs and run MySQL on it for reasonnable performance - ./tests/travis/setup_mysql_tmpfs.sh - # print out mysql information - - mysql --version - - mysql -e "SELECT VERSION();" - - # configure mysql - - mysql -e "SET GLOBAL sql_mode = 'NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES'" # Travis default - # try to avoid 'mysql has gone away' errors - - mysql -e "SET GLOBAL wait_timeout = 36000;" - - mysql -e "SET GLOBAL max_allowed_packet = 134209536;" - - mysql -e "SHOW VARIABLES LIKE 'max_allowed_packet';" - - mysql -e "SHOW VARIABLES LIKE 'wait_timeout';" - - - mysql -e "SELECT @@sql_mode;" - # - mysql -e "SHOW GLOBAL VARIABLES;" - - # print out more debugging info - - uname -a - - date - - php -r "var_dump(gd_info());" - - mysql -e 'create database piwik_tests;' - - ./tests/travis/prepare.sh - ./tests/travis/setup_webserver.sh - ./tests/travis/install_phantomjs.sh; export PATH=$PWD/travis_phantomjs/phantomjs-2.1.1-linux-x86_64/bin:$PATH; |