forked from JuliaPy/PyCall.jl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
67 lines (65 loc) · 1.81 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
language: julia
dist: trusty # update "python3.4-venv" below when updating
os:
- linux
julia:
- 1.0
- 1.2
- 1.3
- nightly
addons:
apt:
packages:
- python-numpy
- python3-numpy
- python3.4-venv # Ubuntu Trusty 14.04 does not have python3-venv
env:
global:
- PYCALL_DEBUG_BUILD="yes"
matrix:
- PYTHON=python # python 2.7
- PYTHON=python3 # python 3.5
- PYTHON=Conda # not actually a python version, here to test Conda.jl's python
matrix:
include:
- &test-macos-py2
language: julia
os: osx
env: PYTHON=python
julia: 1.0
- &test-macos-py3
<<: *test-macos-py2
before_install:
- brew update
- brew upgrade python || echo "Ignoring errors..."
- brew unlink python
- brew link python
env: PYTHON=python3
- &test-macos-conda
<<: *test-macos-py2
env: PYTHON=Conda
- {<<: *test-macos-py2, julia: 1.0}
- {<<: *test-macos-py3, julia: 1.0}
- {<<: *test-macos-conda, julia: 1.0}
- {<<: *test-macos-py2, julia: nightly}
- {<<: *test-macos-py3, julia: nightly}
- {<<: *test-macos-conda, julia: nightly}
# See:
# https://github.com/pytest-dev/pytest/blob/799b72cf6f35c4c4c73797303d3f78c12a795f77/.travis.yml#L38-L52
# https://github.com/pytest-dev/pytest/pull/3893
- &test-aot
name: "AOT (Julia: 1.0)"
language: julia
os: linux
env: PYTHON=python3
julia: 1.0
script:
- julia --color=yes -e 'using Pkg; Pkg.add("PackageCompiler")'
- julia --color=yes aot/compile.jl
- aot/runtests.sh
after_success: skip
- {<<: *test-aot, name: "AOT (Julia: nightly)", julia: nightly}
after_success:
- julia -e 'Pkg.add("Coverage"); using Coverage; Codecov.submit(process_folder())'
notifications:
email: false