/
.travis.yml
26 lines (22 loc) · 1.02 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
language: julia
os: linux
dist: trusty
julia: release
sudo: required
notifications:
email: false
before_install:
- sudo apt-get update
- sudo apt-get install -y -qq apt-utils protobuf-compiler curl git libprotobuf-dev hdf5-tools build-essential cmake
- julia -e 'Pkg.add("BenchmarkTools"); Pkg.add("JLD"); Pkg.add("LightGraphs"); Pkg.add("Plots"); Pkg.clone("https://github.com/rohitvarkey/UnsafeAtomics.jl.git"); Pkg.clone("https://github.com/rohitvarkey/StingerWrapper.jl.git");'
- julia -e 'Pkg.checkout("StingerWrapper", "set_initial_edges")'
- git submodule update --init
before_script:
- cd lib/stinger-dynograph && mkdir build && cd build
- cmake -DCMAKE_BUILD_TYPE=Release .. && make -j$(nproc)
- export DYNOGRAPH_PATH="$TRAVIS_BUILD_DIR/lib/stinger-dynograph/build"
- export STINGER_LIB_PATH="$DYNOGRAPH_PATH/lib/stinger/lib"
script:
- cd $TRAVIS_BUILD_DIR/bfs/
- julia -e 'include("generate_scripts.jl"); runbench([1, 2, 4], 10:11, 16, qsub=false)'
- bash scripts/master_script