-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (34 loc) · 1.07 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
language: python
dist: bionic
python: 3.8
branches:
only:
- master
jobs:
include:
- name: "Integration Tests"
services:
- xvfb
addons:
chrome: stable
before_install:
- CDVERSION=`curl http://chromedriver.storage.googleapis.com/LATEST_RELEASE`
- echo $CDVERSION
- wget --no-verbose http://chromedriver.storage.googleapis.com/$CDVERSION/chromedriver_linux64.zip
- unzip chromedriver_linux64.zip
- sudo chmod u+x chromedriver
- sudo mv chromedriver /usr/bin/
before_script:
- python3 -m pip install -r requirements.txt
- python3 -m pip install -r requirements_integration_test.txt
script: python3 ./script/run_robot.py
- name: "Unit Tests"
before_script:
- python3 -m pip install -r requirements.txt
- python3 -m pip install -r requirements_unit_test.txt
script: python3 ./script/run_pytest.py
after_script: coveralls
- name: "Pylint"
before_script:
- python3 -m pip install -r requirements.txt
script: python3 ./script/run_pylint.py ./kratos