Skip to content

Commit 12053b2

Browse files
chore(travis): update to node 8.9.1, use npm pack and yarn add ./foo.tgz to install uirouter/core from master
1 parent e18259c commit 12053b2

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.travis.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
language: node_js
22
node_js:
3-
- '6.6'
3+
- '8.9.1'
44

55
before_script:
66
- export DISPLAY=:99.0
@@ -21,9 +21,10 @@ script:
2121
git clone --depth=10 --branch="${CORE_BRANCH}" https://github.com/ui-router/core.git ui-router-core && \
2222
pushd ui-router-core && \
2323
yarn && \
24-
npm run build && \
24+
yarn build && \
25+
CORE_PACK_FILENAME=`npm pack` && \
2526
popd && \
26-
npm install ./ui-router-core ;
27+
yarn add ./ui-router-core/${CORE_PACK_FILENAME} ;
2728
fi
2829
- npm run travis
2930

0 commit comments

Comments
 (0)