Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

update yaml file that was overwritten in rebase|merge #1015

Benjamin King12aced9ce6e5
diff --git a/.travis.yml b/.travis.yml
index 92f154528..08942db82 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,10 +1,30 @@
language: node_js
node_js:
- '8.8.1'
+env:
+ global:
+ - BROWSERSTACK_USER=${BROWSERSTACK_USER}
+ - BROWSERSTACK_ACCESS_KEY=${BROWSERSTACK_ACCESS_KEY}
before_install: npm install -g grunt-cli
-install: npm install
-before_script: npm run build:tests
cache:
directories:
- node_modules
- .python
+install: npm install
+
+before_script:
+ - |
+ if [ $TRAVIS_PULL_REQUEST != "false" ]; then
+ npm start &
+ npm run build
+ else
+ npm run build:tests
+ fi
+
+
+script:
+ - |
+ if [ $TRAVIS_PULL_REQUEST != "false" ]; then
+ npm run browserstack
+ fi
+ - npm run test