Skip to content

Commit 982a865

Browse files
committed
ci: add solano configuration
1 parent dca9b9a commit 982a865

File tree

4 files changed

+766
-378
lines changed

4 files changed

+766
-378
lines changed

.travis.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,9 @@ cache:
55
notifications:
66
email: false
77
node_js:
8+
- '8'
89
- '7'
910
- '6'
10-
- '4'
11-
before_script:
12-
- npm prune
1311
after_success:
1412
- npm run codecov
1513
- npm run semantic-release

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"prepush": "npm test",
2020
"prepublish": "npm run lint && flow && npm test && npm run build",
2121
"open:coverage": "open coverage/lcov-report/index.html",
22-
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
22+
"semantic-release": "semantic-release"
2323
},
2424
"config": {
2525
"mocha": "--compilers js:babel-core/register ./test/**/*.js",
@@ -79,6 +79,6 @@
7979
"mocha": "^3.2.0",
8080
"nyc": "^10.1.2",
8181
"rimraf": "^2.6.0",
82-
"semantic-release": "^6.3.6"
82+
"semantic-release": "^11.0.0"
8383
}
8484
}

solano.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
nodejs:
2+
version:
3+
SPLIT:
4+
- 8
5+
- 7
6+
- 6
7+
8+
environment:
9+
'CI': 'true'
10+
11+
hooks:
12+
pre_setup: yarn --ignore-scripts
13+
post_build: npm run codecov && npm run semantic-release
14+
15+
tests:
16+
- yarn run prepublish
17+
18+
cache:
19+
key_paths:
20+
- package.json
21+
- yarn.lock # to freeze packages installed by yarn
22+
save_paths:
23+
- REPO/node_modules # Repo's "local" cache
24+
- HOME/.yarn # Yarn's "global" cache
25+

0 commit comments

Comments
 (0)