diff --git a/.travis.yml b/.travis.yml index 20c6ab0..e4535a0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,42 +16,13 @@ cache: directories: - ~/.npm - ~/.cache - override: - - npm ci - - npm run cy:verify defaults: &defaults script: # ## print all Travis environment variables for debugging - $(npm bin)/print-env TRAVIS - npm start & - - npm run cypress -- --record --parallel --group $STAGE_NAME + - npm run cypress # after all tests finish running we need # to kill all background jobs (like "npm start &") - kill $(jobs -p) || true - -jobs: - include: - # we have multiple jobs to execute using just a single stage - # but we can pass group name via environment variable to Cypress test runner - - stage: test - env: - - STAGE_NAME="1x-electron on Travis CI" - <<: *defaults - # run tests in parallel by including several test jobs with same name variable - - stage: test - env: - - STAGE_NAME="4x-electron on Travis CI" - <<: *defaults - - stage: test - env: - - STAGE_NAME="4x-electron on Travis CI" - <<: *defaults - - stage: test - env: - - STAGE_NAME="4x-electron on Travis CI" - <<: *defaults - - stage: test - env: - - STAGE_NAME="4x-electron on Travis CI" - <<: *defaults