File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -24,17 +24,17 @@ cache:
24
24
25
25
override :
26
26
# use the new "ci" command for fastest installs on CI
27
- - npm ci
28
- - npm run cy:verify
27
+ - npm install
28
+ - npm run all:deps-ci
29
+ - npm run all:cy:verify
29
30
30
31
before_script :
31
32
# # we use the '&' ampersand which tells
32
33
# # travis to run this process in the background
33
34
# # else it would block execution and hang travis
34
- - docker run -d -p 27017:27017 mongo:4.0
35
- - docker ps -a
36
- - NODE_ENV=test npm start -- --silent &
35
+ - npm run all:deps-ci
36
+ - NODE_ENV=test npm run all:infra-start -- --silent &
37
37
38
38
script :
39
- - npm run test: ci
39
+ - npm run all:test- ci
40
40
Original file line number Diff line number Diff line change 12
12
"all:test-e2e" : " lerna run --parallel test:e2e" ,
13
13
"all:test-ci" : " lerna run --parallel test:ci" ,
14
14
"all:test" : " lerna run --parallel test" ,
15
+ "all:deps-ci" : " lerna exec npm ci" ,
15
16
"all:deps-install" : " lerna exec npm install && lerna exec npm install -- --package-lock-only && lerna bootstrap" ,
16
17
"all:deps-remove" : " lerna exec -- rm -rf ./node_modules" ,
17
18
"all:infra-start" : " lerna run --parallel start-infra" ,
You can’t perform that action at this time.
0 commit comments