-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
36 lines (35 loc) · 947 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
36
language: python
python:
# - "3.4" # I think this version *should* work, but Travis is bugging out
- "3.5"
- "3.6"
- "3.7"
- "3.8"
- "3.8-dev"
- "nightly"
cache: pip
script: ./runtest.py && pip install . && cd sample-data && ./test.sh
# Adapted from the code written by Walter Purcaro and shared on at travis-ci#9929
jobs:
include:
- stage: test
os: osx
language: sh
env:
- TOXENV=py3
- HOMEBREW_NO_INSTALL_CLEANUP=1
- HOMEBREW_NO_ANALYTICS=1
before_cache:
- rm -f "$HOME/Library/Caches/pip/log/debug.log"
cache:
directories:
- "$HOME/Library/Caches/pip"
addons:
homebrew:
update: false
packages: python3
before_install:
- python3 -m pip install --upgrade virtualenv
- virtualenv -p python3 --system-site-packages "$HOME/venv"
- source "$HOME/venv/bin/activate"
script: ./runtest.py