]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - .travis.yml
Remove weak deprecation :boom:
[github/wallabag/wallabag.git] / .travis.yml
index b2747e7ddd3c9656943283ef838e817b9c763b6d..7a7c9056c6f105231fc4f6571999b001bb4a5b19 100644 (file)
@@ -3,6 +3,12 @@ language: php
 # faster builds on docker-container setup
 sudo: false
 
+# used for HHVM
+addons:
+  apt:
+    packages:
+      - tidy
+
 # cache vendor dirs
 cache:
     directories:
@@ -10,7 +16,6 @@ cache:
         - $HOME/.composer/cache
 
 php:
-    - 5.4
     - 5.5
     - 5.6
     - 7.0
@@ -27,17 +32,15 @@ matrix:
         - php: hhvm
           env: DB=pgsql  # driver for PostgreSQL currently unsupported by HHVM, requires 3rd party dependency
     allow_failures:
-        - php: 7.0
         - php: hhvm
 
 branches:
     only:
         - v2
 
-install:
-    - composer self-update
-
 before_script:
+    - composer self-update
+    - if [ -n "$GH_TOKEN" ]; then composer config github-oauth.github.com ${GH_TOKEN}; fi;
     # disable xdebug since we don't use code-coverage for now
     - if [[ $TRAVIS_PHP_VERSION != '5.6' && $TRAVIS_PHP_VERSION != 'hhvm' && $TRAVIS_PHP_VERSION != '7.0' ]]; then phpenv config-rm xdebug.ini; fi
     # build coverage only on one build, to speed up results feedbacks
@@ -46,7 +49,7 @@ before_script:
 
 script:
     - ant prepare-$DB
-    - bin/phpunit --exclude-group command-doctrine -v
+    - SYMFONY_DEPRECATIONS_HELPER=weak bin/phpunit -v
 
 # after_script:
     # - |