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

Commit 1af7b8e

Browse files
committed
chore(travis): fix npm install for example app
1 parent 42c4e9e commit 1af7b8e

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

.travis.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,9 @@ env:
1313
install:
1414
- mkdir -p $LOGS_DIR
1515
- ./scripts/sauce_connect_setup.sh
16-
- npm install
1716
- npm install -g npm
18-
- npm install -g gulp
19-
- npm install -g karma-cli
20-
- npm install -g protractor
17+
- npm install -g gulp karma-cli protractor
18+
- npm install
2119
- ./scripts/wait_for_browser_provider.sh
2220

2321
script:

scripts/test_on_sauce.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
#! /bin/bash
2-
SCRIPT_DIR=$(dirname $0)
2+
PWD=`pwd`
33

44
# install deps for this example
5-
cd ../examples/angular-1/confirm-unsaved
5+
cd ./examples/angular-1/confirm-unsaved
66
npm install
77

8-
cd $SCRIPT_DIR/..
8+
cd $PWD
99

1010
function killServer {
1111
kill $serverPid

0 commit comments

Comments
 (0)