forked from jump-dev/Ipopt.jl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
21 lines (21 loc) · 806 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
language: cpp
compiler:
- gcc
notifications:
email: false
env:
- JULIAVERSION="juliareleases"
- JULIAVERSION="julianightlies"
before_install:
- sudo add-apt-repository ppa:staticfloat/julia-deps -y
- sudo add-apt-repository ppa:staticfloat/${JULIAVERSION} -y
- sudo apt-get update -qq -y
- sudo apt-get install gfortran libpcre3-dev julia -y
- git config --global user.name "Travis User"
- git config --global user.email "[email protected]"
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
script:
- julia -e 'Pkg.init(); Pkg.clone(pwd()); Pkg.build("Ipopt")'
- julia -e 'Pkg.test("Ipopt", coverage=true)'
after_success:
- julia -e 'cd(Pkg.dir("Ipopt")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'