forked from mozilla/iris_firefox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
52 lines (39 loc) · 1.13 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
42
43
44
45
46
47
48
49
50
dist: xenial
language: python
python: '2.7'
# blocklist Ex.if there are particular branches that we don't want to test with Travis should be added to 'except'
branches:
except:
- test2
# safelist
branches:
only:
- master
- /.*/
#Bootstrap install /due to a pipenv bug pip is downgraded to a lower version
install:
- 'bootstrap/bootstrap.sh'
- 'pip install pip==9.0.3'
- 'pip install pipenv'
- 'pipenv install'
#virtual display for headless run at a 1920x1080 32 bit resolution
before_script:
- "export DISPLAY=:99.0"
- "Xvfb :99 -screen 0 1920x1080x24+32 +extension GLX +extension RANDR > /dev/null 2>&1 &"
- sleep 3 # give xvfb some time to start
with_content_shell: true
#Job sections-At this point we have only one stage with a test folder ,multiple jobs can be added(test suites,etc)
jobs:
include:
- stage: Ubuntu 16.04 Image search and mouse movement tests
os: linux
dist: xenial
script:script: pipenv run iris -j -n -d ci_tests
# Email notification
notifications:
email:
recipients:
- afilip@mozilla.com
on_success: change
on_failure: always
on_cancel: always