forked from TestArmada/nightwatch-extra
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
30 lines (24 loc) · 1.04 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
language: node_js
script:
- npm install
- npm run lint
- npm run coverage
# - ./node_modules/.bin/magellan --external_build_id=$TRAVIS_BUILD_ID --bail_time=${MAGELLAN_INDIVIDUAL_TEST_BAIL_TIME} --max_workers=${MAGELLAN_MAX_WORKERS} --profile all --nightwatch_config tests/conf/nightwatch.json --sync_browsers safari:10,iphone,ipad --config tests/magellan.json
env:
- TIER_1_2_BROWSERS=microsoftedge_14_Windows_10_Desktop,safari_10_OS_X_10_11_Desktop,safari_9_OS_X_10_11_Desktop,IE_11_Windows_10_Desktop,IE_10_Windows_2012_Desktop,firefox_54_Windows_2012_R2_Desktop
node_js:
- v7
- v6
- v5
- v4
# Use container-based Travis infrastructure.
# See: http://docs.travis-ci.com/user/workers/container-based-infrastructure/
sudo: false
before_install:
- if [[ `npm -v` != 3* ]]; then npm i -g npm@3; fi
- export MAGELLAN_BUILD_NAME=${TRAVIS_JOB_ID}_${TRAVIS_JOB_NUMBER}
- export MAGELLAN_BUILD_ID=`date +%s`
- export SAUCE_TUNNEL_ID=${TRAVIS_JOB_ID}_${TRAVIS_JOB_NUMBER}
- export MAGELLAN_MAX_WORKERS=2
after_success:
- npm run upload-coverage