]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - .travis.yml
Use new Travis infra
[github/wallabag/wallabag.git] / .travis.yml
index 0d716351a2ae7dd6f5c8792f116b193bbc3ffcab..ce50fcc45673a351e58eaa9760e1b7e00a2858f7 100644 (file)
@@ -1,17 +1,14 @@
 language: php
 
 services:
-  - rabbitmq
-  - redis
-
-# faster builds on docker-container setup
-sudo: false
+    - rabbitmq
+    - redis
 
 # used for HHVM
 addons:
-  apt:
-    packages:
-      - tidy
+    apt:
+        packages:
+            - tidy
 
 # cache vendor dirs
 cache:
@@ -44,7 +41,6 @@ matrix:
         - php: 7.0
           env: CS_FIXER=run VALIDATE_TRANSLATION_FILE=run ASSETS=build DB=sqlite
     allow_failures:
-        - php: 7.2
         - php: nightly
 
 # exclude v1 branches
@@ -69,8 +65,10 @@ before_install:
     - if [[ $TRAVIS_REPO_SLUG = wallabag/wallabag ]]; then cp .composer-auth.json ~/.composer/auth.json; fi;
 
 script:
-    - travis_wait bash composer install -o  --no-interaction --no-progress --prefer-dist
+    - COMPOSER_MEMORY_LIMIT=-1 travis_wait bash composer install -o  --no-interaction --no-progress --prefer-dist
+    - echo "travis_fold:start:prepare"
     - make prepare DB=$DB
+    - echo "travis_fold:end:prepare"
 
     - echo "travis_fold:start:fixtures"
     - php bin/console doctrine:fixtures:load --no-interaction --env=test