aboutsummaryrefslogtreecommitdiffhomepage
path: root/.travis.yml
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2018-10-24 21:02:35 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2018-11-28 22:04:54 +0100
commit6fc95673df5349d682eb6ca6185f894eb711d13a (patch)
treeb825799c92eb8f41b4f55273a6c959125699eea9 /.travis.yml
parent0f159f8fc1dea68552dbfa845fa9a24a95953018 (diff)
downloadwallabag-6fc95673df5349d682eb6ca6185f894eb711d13a.tar.gz
wallabag-6fc95673df5349d682eb6ca6185f894eb711d13a.tar.zst
wallabag-6fc95673df5349d682eb6ca6185f894eb711d13a.zip
Cleanup
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml16
1 files changed, 2 insertions, 14 deletions
diff --git a/.travis.yml b/.travis.yml
index 39306343..60721f61 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -21,8 +21,6 @@ cache:
21 - $HOME/.yarn-cache 21 - $HOME/.yarn-cache
22 22
23php: 23php:
24 - 5.6
25 - 7.0
26 - 7.1 24 - 7.1
27 - 7.2 25 - 7.2
28 - nightly 26 - nightly
@@ -38,7 +36,7 @@ env:
38matrix: 36matrix:
39 fast_finish: true 37 fast_finish: true
40 include: 38 include:
41 - php: 7.0 39 - php: 7.2
42 env: CS_FIXER=run VALIDATE_TRANSLATION_FILE=run ASSETS=build DB=sqlite 40 env: CS_FIXER=run VALIDATE_TRANSLATION_FILE=run ASSETS=build DB=sqlite
43 allow_failures: 41 allow_failures:
44 - php: nightly 42 - php: nightly
@@ -63,14 +61,6 @@ before_script:
63 - if [[ ! $PHP = hhvm* ]]; then phpenv config-rm xdebug.ini || echo "xdebug not available"; fi 61 - if [[ ! $PHP = hhvm* ]]; then phpenv config-rm xdebug.ini || echo "xdebug not available"; fi
64 - composer self-update --no-progress 62 - composer self-update --no-progress
65 - if [[ $DB = pgsql ]]; then psql -c 'create database wallabag_test;' -U postgres; fi; 63 - if [[ $DB = pgsql ]]; then psql -c 'create database wallabag_test;' -U postgres; fi;
66 # increase swap to avoid "proc_open(): fork failed - Cannot allocate memory"
67 # this should be removed when no more PHP 5 build will be defined
68 - sudo swapon -s
69 - sudo fallocate -l 4G /swapfile
70 - sudo chmod 600 /swapfile
71 - sudo mkswap /swapfile
72 - sudo swapon /swapfile
73 - sudo swapon -s
74 64
75script: 65script:
76 - travis_wait bash composer install -o --no-interaction --no-progress --prefer-dist 66 - travis_wait bash composer install -o --no-interaction --no-progress --prefer-dist
@@ -78,9 +68,7 @@ script:
78 - make prepare DB=$DB 68 - make prepare DB=$DB
79 - echo "travis_fold:end:prepare" 69 - echo "travis_fold:end:prepare"
80 70
81 - echo "travis_fold:start:fixtures" 71 - make fixtures
82 - php bin/console doctrine:fixtures:load --no-interaction --env=test
83 - echo "travis_fold:end:fixtures"
84 72
85 - if [[ $VALIDATE_TRANSLATION_FILE = '' ]]; then ./bin/simple-phpunit -v ; fi; 73 - if [[ $VALIDATE_TRANSLATION_FILE = '' ]]; then ./bin/simple-phpunit -v ; fi;
86 - if [[ $CS_FIXER = run ]]; then php bin/php-cs-fixer fix --verbose --dry-run ; fi; 74 - if [[ $CS_FIXER = run ]]; then php bin/php-cs-fixer fix --verbose --dry-run ; fi;