From 8aadd864fa46c8aed763a6b07c2281a37da09398 Mon Sep 17 00:00:00 2001 From: James Henry Date: Sun, 20 Jan 2019 09:35:23 -0500 Subject: [PATCH 1/2] build: separate job for integration tests --- .travis.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 6c53fba944cd..e9026fbf8bb7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,10 +23,16 @@ script: # - yarn workspace eslint-plugin docs:check - yarn build - yarn test - - yarn integration-tests - yarn global add codecov after_success: - codecov branches: only: - master + +jobs: + include: + - stage: Integration Tests + node_js: "11" + script: + - yarn integration-tests From 2649ad1569ce4741815be40468b04088f87365be Mon Sep 17 00:00:00 2001 From: James Henry Date: Sun, 20 Jan 2019 09:51:56 -0500 Subject: [PATCH 2/2] build: optimizations --- .travis.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index e9026fbf8bb7..c18b22b64cb0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,17 +11,15 @@ notifications: node_js: - '11' - '10' - - '9' - '8' - '6' install: - - yarn --ignore-engines + # This also runs a build as part of the postinstall + # bootstrap + - yarn --ignore-engines --frozen-lockfile script: - - commitlint-travis - - yarn check-format # TODO: Fix this check # - yarn workspace eslint-plugin docs:check - - yarn build - yarn test - yarn global add codecov after_success: @@ -32,7 +30,9 @@ branches: jobs: include: - - stage: Integration Tests + - stage: Code and Commit Formatting and Integration Tests node_js: "11" script: + - commitlint-travis + - yarn check-format - yarn integration-tests