-
Notifications
You must be signed in to change notification settings - Fork 10
/
.travis.yml
63 lines (52 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
branches:
only:
- master
- staging
- trying
- /^release\/.*$/ # release branches
- /^v[0-9]+\.[0-9]+\.[0-9]+$/ # version tags
language: julia
os:
- linux
julia:
- 1.0
- 1.1
- 1.2
notifications:
email: false
sudo: false
addons:
# mariadb: '10.0'
homebrew:
packages:
- mariadb
update: true
services:
- mysql
before_script:
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then . ./ci/travis/before_install-osx.sh; fi
- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:`mysql_config --libs | cut -d ' ' -f1 | sed 's/-L//'`
after_success:
- julia -e 'import Pkg; Pkg.instantiate(); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'
matrix:
allow_failures:
- julia: 1.2
jobs:
include:
- stage: test
os: osx
julia: 1.1
script:
- julia -e 'import Pkg; Pkg.build(); Pkg.test(coverage=false);'
after_success: skip
- stage: example
os: linux
julia: 1.1
script:
- julia -e 'import Pkg; Pkg.instantiate(); include(joinpath(@__DIR__, "examples", "runexamples.jl"))'
- stage: deploy documentation
julia: 1.1
os: linux
script:
- julia -e 'import Pkg; Pkg.instantiate(); Pkg.add("Documenter"); Pkg.add("Literate"); include(joinpath("docs", "make.jl"))'
after_success: skip