-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
44 lines (42 loc) · 1.35 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
dist: bionic
services:
- xvfb
addons:
apt:
packages:
- libgtk-3-dev
language: python
sudo: false
cache:
pip: true
directories:
- eggs
- downloads
python:
- '3.7'
matrix:
fast_finish: true
before_install:
- firefox -v
- virtualenv .
- bin/pip install pathlib2
- bin/pip3 install -f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-18.04/wxPython-4.0.6-cp37-cp37m-linux_x86_64.whl -vvv wxPython
- bin/pip install --upgrade -r requirements.txt
install:
- bin/buildout -N buildout:download-cache=downloads code-analysis:return-status-codes=True annotate
- bin/buildout -N buildout:download-cache=downloads code-analysis:return-status-codes=True
- bin/buildout -c development.cfg -N buildout:download-cache=downloads code-analysis:return-status-codes=True annotate
- bin/buildout -c development.cfg -N buildout:download-cache=downloads code-analysis:return-status-codes=True
- wget https://github.com/mozilla/geckodriver/releases/download/v0.26.0/geckodriver-v0.26.0-linux64.tar.gz
- tar -xzf geckodriver-v0.26.0-linux64.tar.gz -C bin
- export PATH=$(pwd)/bin:$PATH
script:
- bin/code-analysis
- bin/test
- export ROBOTSUITE_PREFIX=ONLYROBOT && bin/test -t ONLYROBOT --all
after_success:
- bin/createcoverage
- bin/pip install coverage
- bin/python -m coverage.pickle2json
- pip install coveralls
- coveralls