Skip to content
This repository was archived by the owner on Mar 17, 2021. It is now read-only.

Commit ba2e876

Browse files
committedJan 28, 2017
ci(Travis): update to webpack standard build
1 parent d82e8de commit ba2e876

File tree

2 files changed

+29
-3
lines changed

2 files changed

+29
-3
lines changed
 

‎.travis.yml

+28-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,29 @@
1+
sudo: false
12
language: node_js
2-
node_js:
3-
- "0.10"
4-
- "0.11"
3+
branches:
4+
only:
5+
- master
6+
matrix:
7+
fast_finish: true
8+
include:
9+
# - os: linux
10+
# node_js: "7"
11+
# env: WEBPACK_VERSION="2.2.0" JOB_PART=lint
12+
- os: linux
13+
node_js: "6"
14+
env: WEBPACK_VERSION="2.2.0" JOB_PART=test
15+
- os: linux
16+
node_js: "4.3"
17+
env: WEBPACK_VERSION="2.2.0" JOB_PART=test
18+
- os: linux
19+
node_js: "7"
20+
env: WEBPACK_VERSION="2.2.0" JOB_PART=test
21+
before_install:
22+
- nvm --version
23+
- node --version
24+
before_script:
25+
- 'if [ "$WEBPACK_VERSION" ]; then npm install webpack@^$WEBPACK_VERSION; fi'
26+
script:
27+
- npm run travis:$JOB_PART
28+
# after_success:
29+
# - bash <(curl -s https://codecov.io/bash)

‎package.json

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
},
1717
"scripts": {
1818
"test": "mocha -R spec",
19+
"travis:test": "npm run test",
1920
"release": "standard-version"
2021
},
2122
"repository": {

0 commit comments

Comments
 (0)
This repository has been archived.