forked from Nikaple/assets-retry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
executable file
·34 lines (34 loc) · 1.72 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
dist: xenial
services:
- xvfb
language: node_js
cache:
directories:
- '~/.npm'
env:
global:
secure: QqGhoH7nBSOGg9oAYj99fTZ/5JwWtx9OY+oy9jZknTSrTb8e8OFNoPyG9PuPJyQWpKANRRcXZJPBjMy8SsO6KvQZtA72zK/ShCDVPiivIXBjYS2q6OvzG7RzQZD0wClnLWKFYHDcCG7CBuP1A1HMJabBplcEA4jKidjGHV389J83XHFMIgMDdCDCN04ioVuhbdtFkhb6pqXA1qlaQu3MMC5MnXx2sj5yj61az23EVREmhBi8kp6cCBhCBP4pKY5XZBhWRCV6uPTaiMtB1uKaDSiiZWe61uRJdmL2Ed8k6aX7pPcIK8feZLvRoINZvPx//1jmgcUva+saMNTi6lRT/Wac1c2KtcuLA1flGeeTVDSKxjHQPakYbr8KVbvA0OlWiv1XA9Z8VAN+ytmVd+LOAPEXcVzEC5uO0ixR8BXbV2cQl7u3PNBlJJGZA+CkZSUViNDhWAZIA9DfRyjKlmrJR/3frnY/vltiDLSBhpnc/Hoy6Ugg1GXHt+aNSdWw2jidm9XmRxom17UtkjIqcqBOTQj1ZDuuHYTJPk1Z/S0Dz2XlB0qXFHfAPHjckZLFg5L1Sz90utSzhTFhEKb1ADicedfgWgEgss84+8kJqQIVzP+QHeCnPybCqIiRsr9DObvtRNY5WnyMc9vzT6gHurFgqUk//d6VZsUpdpZJjzCdjiw=
notifications:
email: false
addons:
chrome: stable
node_js:
- '10'
script:
# - 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then xvfb-run -a npm run e2e; fi'
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then npm run e2e:bs:test; fi'
- npm run test:prod && npm run build
before_script:
- 'wget https://www.browserstack.com/browserstack-local/BrowserStackLocal-linux-x64.zip'
- 'unzip BrowserStackLocal-linux-x64.zip'
- './BrowserStackLocal --key "$BROWSERSTACK_KEY" --folder `pwd` &'
- 'sleep 5'
after_success:
- npm run travis-deploy-once "npm run report-coverage"
- if [ "$TRAVIS_BRANCH" = "master" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then npm
run travis-deploy-once "npm run deploy-docs"; fi
- if [ "$TRAVIS_BRANCH" = "master" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then npm
run travis-deploy-once "npm run semantic-release"; fi
branches:
except:
- "/^v\\d+\\.\\d+\\.\\d+$/"