forked from PainterQubits/Devices.jl
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
41 lines (41 loc) · 1.35 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
# Documentation: http://docs.travis-ci.com/user/languages/julia/
language: julia
os:
- linux
# - osx
env:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
sudo: required
install:
- |
if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 20
g++ --version
fi
julia:
- 1.0
- 1.1
- nightly
notifications:
email: false
# matrix:
# allow_failures:
# - julia: nightly
# uncomment the following lines to override the default test script
#script:
# - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
# - julia -e 'Pkg.clone(pwd()); Pkg.build("Devices"); Pkg.test("Devices"; coverage=true)'
after_success:
# push coverage results to Coveralls
- julia -e 'using Pkg; cd(Pkg.dir("Devices")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
# push coverage results to Codecov
- julia -e 'using Pkg; cd(Pkg.dir("Devices")); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'
- julia -e 'using Pkg; ps=PackageSpec(name="Documenter", version="0.19"); Pkg.add(ps); Pkg.pin(ps)'
- julia -e 'using Pkg; Pkg.add("FileIO"); Pkg.add("Clipper"); Pkg.add("Unitful")'
- julia -e 'using Pkg; cd(Pkg.dir("Devices")); include(joinpath("docs", "make.jl"))'