forked from usgs/waterdataui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
41 lines (32 loc) · 3.52 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
language: python
python:
- "3.6.5"
addons:
firefox: "latest"
# sauce_connect: true
env:
global:
# BrowserStack credentials - Need to create encrypted BROWSER_STACK_USERNAME and BROWSER_STACK_ACCESS_KEY environment variables.
- secure: "BCJ5xZpOHV+EU8AZiU/Vc7jW8AGACsXKE/XGbb3KVbXj4BPQPTACrjxRaga2kDFk/quUPpiIe26V4v2kVnrpLsgrWxlDzMsBCdn+iRoPDKO9mdN1t6WElh/kOeWcW/mEuK1gGh7eYuSq24EdJUfsPy2m31WifccMTDlSaCryY1sXjUd96dFo/fk+Db+9XKcxI3j9Dqr+18UZHjzQF7GJMIp4afhtImoGi69DgdHZDf/panF/YRLUT8vxT06dMNYE08iCm7ONaVNZK1KtpFSBflKlCw0VPTBksiLgT70K/lBzmOe6IBKRl4pCX2Hkd4Uq/P0uFG0aeuOB4RkTuvTx3oNyUyaEk+xEiCkQH/GjDNHurNA6A50UTcbuuyOEncdmkf9T09B7RlrOTGPwaTLtBnqU2yK3eN5ESmsewxrhq+tFtAngUmm45rm5b1CFoS2gmzXX8EFvvGFgXGT+po6jXCKElBIsiNGdDEYTcDfH2C6Cftvj+xnsm61U/GSNBhopt6kF/fusYGejv5aH4YH6jN0FDValVApl7VerO1ZSW/SrEr6UdHQH2JdklqzyyXNcklIF/I3D8UH+2eoRWVMQ9h6Q0dTMxGtAAXiNrt4DSQgjd6W20l0FLJC2TIFazERVvdgYQw4XGbcliq49R+vMz3KJCy6hibAznGLWNy60tFo="
- secure: "drSHA/Rg252t/f/c12uaJs0zmsJaNECzS1Cl+hWcxkJzk3Ojucryl4kShrCGkxUcegquYmIpOo6r3rS+noKlmQhsvJJSIZLTYud9TlGjdpViNIluaYz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DkOZHvjXNIWJIi7d+w78d1CJa7/z3HyFwS5wpNrjxkdE2UPHL1y1RrBLl25nxy9KUWOImfeYbym12tebVX4TPH3WrLkCGFT3OEt/B2f2HEF614kA2JNR3cB5jvWT94SJybEAtk6RFPf9qjrbAfBg5SeqzZ17/vJmmZxDcHzuze1+tLFZPXNNHBwyqt4TI9MxdYZb+L328qjY="
# - secure: "imY7FAhE1vhXy74SjrwNxnfTvr6jwMS4O+wURCNNdjP2it+klHqguBKSIAt/ZoFGhN5sx4faqKu0HGf3ya/TA87Suh1FJFX9+IgpU1c3mVtvOCJKVhITNM8Oyncza1FO9rOinUXKHHAA5a4sCdUFFx+rDGGGoUozr2lacGq3TuHjyji5+phLxGJ/EExFoV4kE7u7nTSCAVJKIvF4ERzJvij9fWAs//vjnHNhb5uGIPAy8JNRgDGMX/YnyexaVN91pNFsoRIkVeyxYPQNsPT2lLf0vRuI/6Ce5i2uOJpfxn5HMpyeHlIb6qRM6pR6FrcfPxxyY5FK4sTbYZjpKOQAc5y1K3PdukaGYkWIKAZjwzzD8L9mVZmOfafC/4nCWdhh9JAzSFUM6guHKyM8zFKdpUz9mZkY+v1AvnZCb3dj52KBJ+tK/rGo6o8HVt6isu6sN6PMdMWELWjdcSucwzxgvsgvUln1nbCx4e0/8u9v4zV9hcnbGBZX3gZO6vtosyeDrqeuaTCCRqWBgVXHHsWsTz+1UTvJkIFGZpszQDO2pyh5vQ6/WcLqkFl0JA8u5Ti1xRMRu+KJSIc4tT8D22f2tJnZPyyIwjZbctn27Bm2LFRFWGkY545A2GOtDG8RxEAgQyIkL+FsC9/ljN3Xpc/AaTMfqKe5qVZQusdzV7sb7kE="
matrix:
- KARMA_BROWSERSTACK=1 COVERAGE=1 TEST_TARGET=test
# - KARMA_SAUCE_LABS=1 TEST_TARGET=test-assets
matrix:
fast_finish: true
# allow_failures:
# - env: KARMA_SAUCE_LABS=1 TEST_TARGET=test-assets
before_install:
- nvm install $(python -c "import json; print(json.loads(open('./assets/package.json').read())['engines']['node'])")
install:
- make env
- gem install coveralls-lcov
before_script:
- mkdir coverage
script:
- make "$TEST_TARGET"
after_success:
- "[[ -n $COVERAGE ]] && make coverage"