-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.travis.yml
More file actions
57 lines (50 loc) · 1.67 KB
/
.travis.yml
File metadata and controls
57 lines (50 loc) · 1.67 KB
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
## Documentation: http://docs.travis-ci.com/user/languages/julia/
language: julia
os:
- linux
# - osx
julia:
- 0.7
- 1.0
# - nightly
env:
- CONDA_JL_VERSION="2"
- CONDA_JL_VERSION="3"
notifications:
email: false
git:
depth: 99999999
## uncomment the following lines to allow failures on nightly julia
## (tests will run but not make your overall status red)
#matrix:
# allow_failures:
# - julia: nightly
## uncomment and modify the following lines to manually install system packages
#addons:
# apt: # apt-get for linux
# packages:
# - gfortran
before_script:
- julia --color=yes -e "using Pkg; Pkg.build()"
- cat deps/build.log
# - if [ $TRAVIS_OS_NAME = osx ]; then brew install gcc; fi
script:
- julia --color=yes -e 'VERSION >= v"0.7-" && using Pkg; Pkg.test("IPython"; coverage=true)'
# Test that IPython.install_dependency("ipython-pre") works:
- if [ "$CONDA_JL_VERSION" = 3 ]; then
julia --color=yes -e '
using IPython;
IPython.install_dependency("ipython-pre"; force=true)';
fi
# Test that IPython.install_dependency("ipython-dev") works:
- if [ "$CONDA_JL_VERSION" = 3 ]; then
julia --color=yes -e '
using IPython;
IPython.install_dependency("ipython-dev"; force=true)';
julia --color=yes -e 'VERSION >= v"0.7-" && using Pkg; Pkg.test("IPython")';
fi
after_success:
# push coverage results to Coveralls
- julia --color=yes -e 'cd(Pkg.dir("IPython")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
# push coverage results to Codecov
- julia --color=yes -e 'cd(Pkg.dir("IPython")); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'