Move 'main' ci to php7 (speed)

This commit is contained in:
Roeland Jago Douma 2016-07-06 17:57:45 +02:00
parent 58dd278b4e
commit 3e9977387a
No known key found for this signature in database
GPG Key ID: 1E152838F164D13B
1 changed files with 4 additions and 4 deletions

View File

@ -18,28 +18,28 @@ build:
- ./occ maintenance:install --database-name oc_autotest --database-user oc_autotest --admin-user admin --admin-pass admin --database sqlite --database-pass='' - ./occ maintenance:install --database-name oc_autotest --database-user oc_autotest --admin-user admin --admin-pass admin --database sqlite --database-pass=''
- NOCOVERAGE=true ./autotest.sh sqlite - NOCOVERAGE=true ./autotest.sh sqlite
sqlite: sqlite:
image: nextcloudci/php5.6:1.0.6 image: nextcloudci/php7.0:1.0.9
commands: commands:
- rm -rf data/* config/config.php # TODO: remove this - temporary fix for CI issues - rm -rf data/* config/config.php # TODO: remove this - temporary fix for CI issues
- git submodule update --init - git submodule update --init
- ./occ maintenance:install --database-name oc_autotest --database-user oc_autotest --admin-user admin --admin-pass admin --database sqlite --database-pass='' - ./occ maintenance:install --database-name oc_autotest --database-user oc_autotest --admin-user admin --admin-pass admin --database sqlite --database-pass=''
- ./autotest.sh sqlite - ./autotest.sh sqlite
mysql: mysql:
image: nextcloudci/php5.6:1.0.6 image: nextcloudci/php7.0:1.0.9
commands: commands:
- sleep 15 # gives the database enough time to initialize - sleep 15 # gives the database enough time to initialize
- rm -rf data/* config/config.php # TODO: remove this - temporary fix for CI issues - rm -rf data/* config/config.php # TODO: remove this - temporary fix for CI issues
- git submodule update --init - git submodule update --init
- ./autotest.sh mysql - ./autotest.sh mysql
postgres: postgres:
image: nextcloudci/php5.6:1.0.6 image: nextcloudci/php7.0:1.0.9
commands: commands:
- sleep 10 # gives the database enough time to initialize - sleep 10 # gives the database enough time to initialize
- rm -rf data/* config/config.php # TODO: remove this - temporary fix for CI issues - rm -rf data/* config/config.php # TODO: remove this - temporary fix for CI issues
- git submodule update --init - git submodule update --init
- ./autotest.sh pgsql - ./autotest.sh pgsql
integration: integration:
image: nextcloudci/php5.6:1.0.6 image: nextcloudci/php7.0:1.0.9
commands: commands:
- rm -rf data/* config/config.php # TODO: remove this - temporary fix for CI issues - rm -rf data/* config/config.php # TODO: remove this - temporary fix for CI issues
- git submodule update --init - git submodule update --init