forked from probcomp/GenTF
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (34 loc) · 1.31 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
# See http://docs.travis-ci.com/user/languages/julia/ and https://juliadocs.github.io/Documenter.jl/stable/man/hosting/#Hosting-Documentation-1
# See status of Travis builds at https://travis-ci.org/probcomp/GenTF
language: julia
os:
- linux
julia:
- 1.0
env:
- PYTHON=/home/travis/build/probcomp/GenTF/tf_env/bin/python3
jobs:
include:
- stage: test
before_install:
- sudo ./install_tensorflow.sh
script:
- julia -e 'using Pkg; Pkg.build("PyCall"); Pkg.test()'
- stage: docs
julia: 1.0
os: linux
before_install:
- sudo ./install_tensorflow.sh
script:
- julia --project=docs/ -e 'using Pkg;
Pkg.add(PackageSpec(url="https://github.com/probcomp/Gen"));
Pkg.develop(PackageSpec(path="$(pwd())/.."));
Pkg.develop(PackageSpec(path=pwd()));
Pkg.instantiate();
Pkg.add("PyCall");
Pkg.build("PyCall");
using PyCall;
println(ENV["PYTHON"]);
println(PyCall.python)'
- julia --project=docs/ docs/make.jl
after_success: skip