forked from dmlc/MXNet.jl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
59 lines (48 loc) · 1.08 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# Documentation: http://docs.travis-ci.com/user/languages/julia/
sudo: false
language: julia
os:
- linux
- osx
osx_image: xcode8
julia:
- 0.6
# - nightly 0.6 supports depends on #170
branches:
only:
- master
- stable
- /^v\d+\.\d+(\.\d+)?(-\S*)?$/ # for tagging
cache:
directories:
- $TRAVIS_BUILD_DIR/deps/src
# dependent apt packages
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- doxygen
- wget
- git
- libcurl4-openssl-dev
- unzip
- libatlas-base-dev
- libatlas-dev
- libopencv-dev
- gcc-4.8
- g++-4.8
before_install:
- export TRAVIS_DIR=test/travis
- source ${TRAVIS_DIR}/setup_env.sh
notifications:
email: false
script:
- ${TRAVIS_DIR}/run_test.sh
after_success:
# See https://github.com/dmlc/MXNet.jl/pull/303#issuecomment-341171774
- julia -e 'using MXNet; mx._sig_checker()'
- source ${TRAVIS_DIR}/run_coverage.sh
- echo $TRAVIS_JULIA_VERSION
- julia -e 'Pkg.add("Documenter")'
- julia -e 'cd(Pkg.dir("MXNet")); include(joinpath("docs", "make.jl"))'