-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
50 lines (39 loc) · 1.04 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
45
46
47
48
49
50
sudo: false
language: python
matrix:
include:
- python: "3.6"
# Python 2 requires a special handling:
- python: "2.7"
env: TOXENV=py2
# Documentation is build on readthedocs but it's nicer to let
# Travis report when it breaks:
- name: doc
python: "3.6"
before_install:
- pip install --quiet tox
- tox -e doc --notest
script:
- tox -e doc -- -W
after_success: skip
env:
global:
# Use the Python version specified by Travis inside tox:
- TOXENV=py
# Tell PyCall.jl to use python executable in virtualenv:
- PYTHON=python
before_install:
- pip install --quiet tox coveralls
- tox --notest
# Install Julia:
- wget -O julia.tar.gz https://julialang-s3.julialang.org/bin/linux/x64/1.0/julia-1.0.0-linux-x86_64.tar.gz
- tar xf julia.tar.gz
- ln -T -s julia-*/ julia
script:
- export PATH="${PWD}/julia/bin:${PATH}"
- tox -- --cov=ipyjulia_hacks
after_success:
- .tox/py*/bin/coverage combine .coverage
- coveralls
notifications:
email: false