Skip to content

Commit

Permalink
Tests: Run everything in parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed Oct 31, 2017
1 parent 793ec04 commit 8cc2642
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,49 +24,45 @@ before_install:

jobs:
include:
- stage: unit
- stage: test
php: 5.6
script: composer install && ./vendor/bin/phpcs

- stage: unit
- stage: test
script:
- npm install || exit 1
- npm run ci || exit 1

- stage: unit
- stage: test
php: 7.1
env: WP_VERSION=latest
script:
- ./bin/run-wp-unit-tests.sh

- stage: unit
- stage: test
php: 5.6
env: WP_VERSION=latest
script:
- ./bin/run-wp-unit-tests.sh

- stage: unit
- stage: test
php: 7.1
env: WP_VERSION=latest SWITCH_TO_PHP=5.3
script:
- ./bin/run-wp-unit-tests.sh

- stage: unit
- stage: test
php: 7.1
env: WP_VERSION=latest SWITCH_TO_PHP=5.2
script:
- ./bin/run-wp-unit-tests.sh

- stage: integration
- stage: test
script:
- npm install || exit 1
- npm run build || exit 1
- ./bin/run-e2e-tests.sh || exit 1

stages:
- unit
- integration

before_deploy:
- npm install
- cd docutron
Expand Down

0 comments on commit 8cc2642

Please sign in to comment.