Skip to content

Commit 76b2ec9

Browse files
committed
Add travis check in install
1 parent 82c320d commit 76b2ec9

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

.travis.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,5 @@ node_js:
66
notifications:
77
slack: openframeproject:wGLUMLh5CTAIOGsPUSU8eMf3
88

9-
# A bit annoying, but we manually install all npm deps so that the install.sh script doesn't get executed on travis
10-
install:
11-
npm install coveralls@^2.11.9 eslint@^2.8.0 istanbul@^0.4.2 mocha@^2.3.4 sinon@^1.17.2 openframe-extension@^0.1.0 debug@^2.2.0
12-
139
script:
1410
- npm run test-coveralls

install.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44

55
echo "Openframe Website Extension -- install.sh"
66

7+
if ! [ -z "$TRAVIS" ]; then
8+
echo "TRAVIS env, don't install"
9+
exit 0
10+
fi
11+
712
# Some limited platform detection might be in order... though at present we're targeting the Pi
813
os=$(uname)
914
arq=$(uname -m)

0 commit comments

Comments
 (0)