Skip to content

Commit d5636dd

Browse files
committed
improved .travis.yml.
1 parent 2cd8421 commit d5636dd

File tree

2 files changed

+8
-11
lines changed

2 files changed

+8
-11
lines changed

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
8.11.1
1+
8.11.3

.travis.yml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,17 @@ branches:
44
only:
55
# Only run on tags like v1.0.0
66
- /^v\d+\.\d+(\.\d+)?(-\S*)?$/
7-
node_js:
8-
- '6'
9-
- '8'
10-
install:
7+
before_install:
118
- yarn global add snyk # snyk is not on prod dependencies
129
- yarn --prod # Ensure node_modules has only prod dependencies for the snyk analysis
13-
- npm run -s security
10+
- yarn security
11+
install:
1412
- yarn # Back to normal
1513
script:
16-
- npm run -s test
17-
before_deploy:
18-
- npm run -s codecov
19-
- npm run -s sauce
20-
- npm run -s build
14+
- yarn test
15+
- yarn codecov
16+
- yarn sauce
17+
- yarn build
2118
deploy:
2219
provider: npm
2320

0 commit comments

Comments
 (0)