Skip to content

Commit c4fc217

Browse files
Switch to Travis and AppVeyor
1 parent a9b6b4c commit c4fc217

File tree

8 files changed

+1084
-192
lines changed

8 files changed

+1084
-192
lines changed

.appveyor.yml

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,26 @@
1+
branches:
2+
only:
3+
# This is where pull requests from "bors r+" are built.
4+
- staging
5+
# This is where pull requests from "bors try" are built.
6+
- trying
7+
# Enable building pull requests.
8+
# - master
9+
110
environment:
211
matrix:
3-
- julia_version: 1
12+
- julia_version: 1.3
413
- julia_version: nightly
514

615
platform:
716
- x86 # 32-bit
817
- x64 # 64-bit
918

10-
# # Uncomment the following lines to allow failures on nightly julia
11-
# # (tests will run but not make your overall status red)
12-
# matrix:
13-
# allow_failures:
14-
# - julia_version: nightly
15-
16-
branches:
17-
only:
18-
- master
19-
- /release-.*/
19+
# Uncomment the following lines to allow failures on nightly julia
20+
# (tests will run but not make your overall status red)
21+
matrix:
22+
allow_failures:
23+
- julia_version: nightly
2024

2125
notifications:
2226
- provider: Email
@@ -39,4 +43,4 @@ test_script:
3943
# # which would have coverage gaps without running on Windows
4044
# on_success:
4145
# - echo "%JL_CODECOV_SCRIPT%"
42-
# - C:\julia\bin\julia -e "%JL_CODECOV_SCRIPT%"
46+
# - C:\julia\bin\julia -e "%JL_CODECOV_SCRIPT%"

.codecov.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
codecov:
2+
token: f995e5d9-25fb-42df-99c5-5b690294a298

.gitignore

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,17 @@
11
# ignore the following patterns
2-
3-
Manifest.toml
4-
5-
# vim swap files
2+
*.jl.cov
3+
*.vtk
4+
*.dat
5+
*.csv
6+
*.vtu
7+
*.pvtu
68
*.swp
7-
9+
*.png
10+
!docs/src/assets/*.png
11+
*.DS_Store
12+
docs/build/
13+
data/
14+
docs/site/
15+
*.jl.*.cov
16+
*.jl.mem
17+
deps/deps.jl

.travis.yml

Lines changed: 57 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,65 @@
1-
# Documentation: http://docs.travis-ci.com/user/languages/julia/
2-
language: julia
3-
4-
env:
5-
global:
6-
- PYTHON=Conda
1+
branches:
2+
only:
3+
# This is where pull requests from "bors r+" are built.
4+
- staging
5+
# This is where pull requests from "bors try" are built.
6+
- trying
7+
# Enable building pull requests.
8+
# - master
79

10+
## Documentation: http://docs.travis-ci.com/user/languages/julia/
11+
language: julia
12+
sudo: false
13+
dist: trusty
814
os:
915
- linux
1016
- osx
1117
julia:
12-
- 1.0
13-
- 1.1
18+
- 1.2
19+
- 1.3
1420
- nightly
1521
notifications:
1622
email: false
23+
24+
matrix:
25+
allow_failures:
26+
- julia: nightly
27+
28+
env:
29+
global:
30+
- PYTHON=conda
31+
32+
before_install:
33+
- julia -e 'using Pkg; Pkg.add("Conda")'
34+
- julia -e 'using Conda; Conda.add("scikit-learn")'
35+
36+
before_script:
37+
- |
38+
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
39+
brew update
40+
brew upgrade cmake
41+
fi
42+
- pip install --user -U numpy scipy scikit-learn
43+
- julia -e 'using Pkg; Pkg.build("PyCall"); Pkg.update()'
44+
45+
after_success:
46+
# push coverage results to Codecov
47+
- julia -e 'import Pkg;
48+
cd(Pkg.dir("CalibrateEmulateSample.jl"));
49+
Pkg.add("Coverage");
50+
using Coverage;
51+
Codecov.submit(Codecov.process_folder())'
52+
53+
jobs:
54+
include:
55+
- stage: "Documentation"
56+
julia: 1.0
57+
os: linux
58+
script:
59+
- export DOCUMENTER_DEBUG="true"
60+
- julia --color=yes --project=docs/ -e 'using Pkg;
61+
Pkg.develop(PackageSpec(path=pwd()));
62+
Pkg.instantiate();
63+
Pkg.build("CalibrateEmulateSample.jl")'
64+
- julia --color=yes --project=docs/ docs/make.jl
65+
after_success: skip

0 commit comments

Comments
 (0)