-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
35 lines (35 loc) · 936 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
dist: bionic
services:
- xvfb
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 --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
before_script:
- wget https://github.com/mozilla/geckodriver/releases/download/v0.27.0/geckodriver-v0.27.0-linux64.tar.gz
- tar -xzf geckodriver-v0.27.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