-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
40 lines (32 loc) · 980 Bytes
/
.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
# TODO: This example was pulled from another configuration, not tested here yet.
env:
global:
# Example config
secure: jq+DqVlimCti+5imNhCdi7QjlTZ3ibkKnOeUfN6IjDf+gnrOYxFALXnrXLwMRJ0B3GNESTyxxxxxxxxxxx=
# Test running on a mac
os: osx
# dist: trusty
language: node_js
node_js:
- "lts/*"
cache:
directories:
- "node_modules"
before_install:
- npm config set @sencha:registry https://npm.sencha.com
- npm config set //npm.sencha.com/:_authToken=$NPM_TOKEN
install:
- npm install
before_script:
# Start the sauce labs tunnel
- npx sc -u sencha -k xxxxxxxxxxxxxxxx --tunnel-identifier teamcityTunnel --no-ssl-bump-domains all &
- sleep 40
script:
# Example way to run tests indiviually
- npx stc run -p saucePool --scenarioName "Admin Dashboard - Classic"
- npx stc run -p saucePool --scenarioName "Admin Dashboard - Modern"
# OR run it from npm
- npm test
after_script:
# Kill sauce labs tunnel, although vm will shutdown
- kill %1