Skip to content

Commit

Permalink
ci: Split bootstrap from postinstall
Browse files Browse the repository at this point in the history
  • Loading branch information
jantimon committed Jan 9, 2019
1 parent ff5863f commit 9cba7d7
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 7 deletions.
24 changes: 18 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,21 @@
language: node_js
sudo: false

os:
- linux

node_js:
- '10'
- '8'
- '6'

os:
- linux
before_install:
- npm i -g npm@6.4.1

install:
- travis_retry npm install
- travis_retry npm run bootstrap


stages:
- test
Expand All @@ -17,10 +25,8 @@ jobs:
include:

- stage: test
before_install:
- npm i -g npm@6.4.1
install:
- travis_retry npm install
script:
- npm test

- stage: performance
name: "webpack-dev-server typescript"
Expand All @@ -31,6 +37,7 @@ jobs:
- '10'
install:
- travis_retry npm install
- travis_retry npm run bootstrap
- cd performance
- travis_retry npm install
script:
Expand All @@ -45,6 +52,7 @@ jobs:
- '10'
install:
- travis_retry npm install
- travis_retry npm run bootstrap
- cd performance
- travis_retry npm install
script:
Expand All @@ -60,6 +68,7 @@ jobs:
- '10'
install:
- travis_retry npm install
- travis_retry npm run bootstrap
- cd performance
- travis_retry npm install
script:
Expand All @@ -75,6 +84,7 @@ jobs:
- '10'
install:
- travis_retry npm install
- travis_retry npm run bootstrap
- cd performance
- travis_retry npm install
script:
Expand All @@ -89,6 +99,7 @@ jobs:
- '10'
install:
- travis_retry npm install
- travis_retry npm run bootstrap
- cd performance
- travis_retry npm install
script:
Expand All @@ -103,6 +114,7 @@ jobs:
- '10'
install:
- travis_retry npm install
- travis_retry npm run bootstrap
- cd performance
- travis_retry npm install
script:
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"clean:modules": "npx rimraf node_modules",
"commit": "git-cz",
"lint": "npm run prettier",
"postinstall": "npm run bootstrap",
"posttest": "npm run lint",
"test": "lerna exec --concurrency 1 -- npm test",
"update-snapshots": "lerna exec -- npm run update-snapshots",
Expand Down

0 comments on commit 9cba7d7

Please sign in to comment.