-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
41 lines (32 loc) · 1.18 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
language: python
cache: pip
services:
- xvfb
# Incantations to make Chromium work for browser tests have been
# completely cargo-culted. It works, which is good enough right now.
addons:
chrome: stable
before_install:
- sudo apt-get update
- sudo apt-get install chromium-chromedriver
- export PATH=$PATH:/usr/lib/chromium-browser/
# If we wanted to use Firefox, we could put this in `before_install`.
# - wget https://github.com/mozilla/geckodriver/releases/download/v0.26.0/geckodriver-v0.26.0-linux64.tar.gz
# - mkdir geckodriver
# - tar -xzf geckodriver-v0.26.0-linux64.tar.gz -C geckodriver
# - export PATH=$PATH:$PWD/geckodriver
# However, we use Chromium instead because test_edit_form_multiple
# inexplicably fails with Firefox on Travis. The test passes locally.
matrix:
fast_finish: true
include:
- {python: '3.6', env: BUILD=test}
- {python: '3.7', env: BUILD=test}
- {python: '3.8', env: BUILD=test}
- {python: 'nightly', env: BUILD=test}
- {python: '3.8', env: BUILD=docs}
- {python: '3.8', env: BUILD=quality}
allow_failures:
- python: 'nightly'
install: travis_retry pip install -r requirements_dev.txt
script: make $BUILD