Skip to content
This repository was archived by the owner on May 26, 2023. It is now read-only.

Commit 71c5297

Browse files
chore(travis): Use npm pack and yarn install ./foo.tgz to install core/master
1 parent 8cc020b commit 71c5297

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.travis.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,13 @@ script:
1515
- >
1616
if [ "x${CORE_BRANCH}x" != "xx" ] ; then
1717
echo "Installing @uirouter/core from ${CORE_BRANCH}" && \
18-
git clone --depth=10 --branch="${CORE_BRANCH}" https://github.com/ui-router/core.git @uirouter/core && \
19-
pushd @uirouter/core && \
20-
yarn > /dev/null && \
18+
git clone --depth=10 --branch="${CORE_BRANCH}" https://github.com/ui-router/core.git ui-router-core && \
19+
pushd ui-router-core && \
20+
yarn && \
2121
yarn build && \
22+
CORE_PACK_FILENAME=`npm pack` && \
2223
popd && \
23-
npm install ./@uirouter/core ;
24+
yarn add ./ui-router-core/${CORE_PACK_FILENAME} ;
2425
fi
2526
- tsc && npm test
2627

0 commit comments

Comments
 (0)