forked from PhilipVinc/NeuralQuantum.jl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
41 lines (40 loc) · 1.48 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
language: julia
os:
- linux
- osx
julia:
- 1.1
- 1.2
- 1.3
- nightly
matrix:
allow_failures:
- julia: [1.3, nightly]
- os: osx
notifications:
email: false
script:
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
- travis_wait 20 julia --color=yes -e 'using Pkg;
Pkg.activate();
Pkg.add([PackageSpec(url="https://github.com/PhilipVinc/QuantumLattices.jl"), PackageSpec(url="https://github.com/PhilipVinc/ValueHistoriesLogger.jl")]);
println("Installed [QuantumLattices, ValueHistoriesLogger]");
Pkg.instantiate();
println("Instantiated");
println("Developed");
Pkg.test(coverage=true)';
after_success:
- julia -e 'using Pkg; cd(Pkg.dir("NeuralQuantum")); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'
jobs:
include:
- stage: "Documentation"
julia: 1.1
os: linux
script:
- julia --project=docs/ -e 'using Pkg;
Pkg.add([PackageSpec(url="https://github.com/PhilipVinc/QuantumLattices.jl")]);
Pkg.add("Documenter");
Pkg.develop(PackageSpec(path=pwd()));
Pkg.instantiate()'
- julia --project=docs/ docs/make.jl
after_success: skip