diff options
author | Julius Härtl <jus@bitgrid.net> | 2020-10-12 09:14:12 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-12 09:14:12 +0300 |
commit | d6dcd4784aabe7224cb324bbc0faba5963b0ff1b (patch) | |
tree | cb561e6240ead4984a1b11572e255af2aaea2881 /.travis.yml | |
parent | e6d201c95a69fcdf1079b3f5d15dd4c585665c9b (diff) | |
parent | c9184b35cb4e78174558d96ae41f464f2081d8b4 (diff) |
Merge pull request #1049 from nextcloud/tests/wip
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml index a2067e06..0165e790 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,13 +3,12 @@ dist: trusty language: php php: - 7.3 + - 7.4 env: global: - "CORE_BRANCH=master" - "APP_NAME=richdocuments" matrix: - - "DB=mysql TEST=lint" - - "DB=mysql TEST=checker" - "DB=mysql TEST=phpunit" addons: @@ -35,8 +34,6 @@ matrix: env: "DB=sqlite" - php: 7.3 env: "DB=pgsql" - allow_failures: - - env: "DB=mysql TEST=checker" fast_finish: true branches: @@ -45,6 +42,8 @@ branches: - /^stable\d+(\.\d+)?$/ before_install: + - echo "extension = libzip.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini + - echo "extension = gd.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini - wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh - . ./before_install.sh $APP_NAME $CORE_BRANCH $DB @@ -60,7 +59,6 @@ script: # Test the app - if [ "$TEST" == 'lint' ]; then find . -name \*.php -exec php -l "{}" \;; fi - if [ "$TEST" == 'lint' ]; then ../../occ app:check-code $APP_NAME -c deprecation; fi - - if [ "$TEST" == 'checker' ]; then ../../occ app:check-code $APP_NAME -c private -c strong-comparison; fi # Run phpunit tests - cd tests/ |