Skip to content

Commit f728ec4

Browse files
committed
Merge pull request #3 from OpenframeProject/tests
Add travis check in install
2 parents 536d32a + 49ba1ce commit f728ec4

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

.travis.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,7 @@ node_js:
44
- "5"
55

66
notifications:
7-
slack: openframeproject:wGLUMLh5CTAIOGsPUSU8eMf3
8-
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
7+
slack: openframe-community:zfOODf2VUOEM8uh93Tkdd0k6
128

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)