File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed
eslint-config-airbnb-base Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ install:
12
12
- ' cd "packages/${PACKAGE}"'
13
13
-
' if [ "${TRAVIS_NODE_VERSION}" = "0.6" ]; then nvm install 0.8 && npm install -g [email protected] && npm install -g [email protected] && npm install -g npm@2 && npm install && nvm use "${TRAVIS_NODE_VERSION}"; else npm install; fi;'
14
14
script :
15
- - ' if [ -n "${PREPUBLISH-}" ]; then npm run prepublish; else npm run travis; fi'
15
+ - ' if [ -n "${PREPUBLISH-}" ]; then npm run pretravis && npm run prepublish && npm run posttravis ; else npm run travis; fi'
16
16
sudo : false
17
17
env :
18
18
matrix :
Original file line number Diff line number Diff line change 10
10
"prepublish" : " (in-install || eslint-find-rules --unused) && (not-in-publish || npm test) && safe-publish-latest" ,
11
11
"pretest" : " npm run --silent lint" ,
12
12
"test" : " npm run --silent tests-only" ,
13
- "travis" : " npm run --silent test"
13
+ "pretravis" : " :" ,
14
+ "travis" : " npm run --silent test" ,
15
+ "posttravis" : " :"
14
16
},
15
17
"repository" : {
16
18
"type" : " git" ,
Original file line number Diff line number Diff line change 10
10
"prepublish" : " (in-install || eslint-find-rules --unused) && (not-in-publish || npm test) && safe-publish-latest" ,
11
11
"pretest" : " npm run --silent lint" ,
12
12
"test" : " npm run --silent tests-only" ,
13
- "travis" : " cd ../eslint-config-airbnb-base && npm install && npm link && cd - && npm link eslint-config-airbnb-base && npm run --silent test ; npm unlink eslint-config-airbnb-base >/dev/null &"
13
+ "pretravis" : " cd ../eslint-config-airbnb-base && npm install && npm link && cd - && npm link --no-save eslint-config-airbnb-base" ,
14
+ "travis" : " npm run --silent test" ,
15
+ "posttravis" : " npm unlink eslint-config-airbnb-base >/dev/null &"
14
16
},
15
17
"repository" : {
16
18
"type" : " git" ,
You can’t perform that action at this time.
0 commit comments