-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
41 lines (33 loc) · 914 Bytes
/
.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:
- 0.4
- 0.5
- 0.6
- nightly
matrix:
fast_finish: true
allow_failures:
- julia: nightly
notifications:
email: false
script:
- julia -e 'Pkg.clone(pwd()); Pkg.build("RationalFunctions")'
- julia --check-bounds=yes --inline=no -e 'Pkg.test("RationalFunctions",
coverage=true)'
after_success:
- julia -e 'cd(Pkg.dir("RationalFunctions")); Pkg.add("Coverage"); using Coverage;
Coveralls.submit(process_folder()); Codecov.submit(process_folder())'
before_deploy:
- export TEST_FOLDER=`julia -e 'Pkg.dir("RationalFunctions") |> println'`
- mv ${TEST_FOLDER}/test/test-plot.png test-plot-${TRAVIS_OS_NAME}-${TRAVIS_JULIA_VERSION}.png
deploy:
provider: releases
api_key: $GH_API_KEY
skip_cleanup: true
file: test-plot-${TRAVIS_OS_NAME}-${TRAVIS_JULIA_VERSION}.png
on:
repo: aytekinar/RationalFunctions.jl
tags: true