Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to Travis and AppVeyor #17

Merged
merged 1 commit into from
Jan 30, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 16 additions & 12 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,26 @@
branches:
only:
# This is where pull requests from "bors r+" are built.
- staging
# This is where pull requests from "bors try" are built.
- trying
# Enable building pull requests.
# - master

environment:
matrix:
- julia_version: 1
- julia_version: 1.3
- julia_version: nightly

platform:
- x86 # 32-bit
- x64 # 64-bit

# # Uncomment the following lines to allow failures on nightly julia
# # (tests will run but not make your overall status red)
# matrix:
# allow_failures:
# - julia_version: nightly

branches:
only:
- master
- /release-.*/
# Uncomment the following lines to allow failures on nightly julia
# (tests will run but not make your overall status red)
matrix:
allow_failures:
- julia_version: nightly

notifications:
- provider: Email
Expand All @@ -39,4 +43,4 @@ test_script:
# # which would have coverage gaps without running on Windows
# on_success:
# - echo "%JL_CODECOV_SCRIPT%"
# - C:\julia\bin\julia -e "%JL_CODECOV_SCRIPT%"
# - C:\julia\bin\julia -e "%JL_CODECOV_SCRIPT%"
2 changes: 2 additions & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
codecov:
token: f995e5d9-25fb-42df-99c5-5b690294a298
20 changes: 15 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
# ignore the following patterns

Manifest.toml

# vim swap files
*.jl.cov
*.vtk
*.dat
*.csv
*.vtu
*.pvtu
*.swp

*.png
!docs/src/assets/*.png
*.DS_Store
docs/build/
data/
docs/site/
*.jl.*.cov
*.jl.mem
deps/deps.jl
65 changes: 57 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,65 @@
# Documentation: http://docs.travis-ci.com/user/languages/julia/
language: julia

env:
global:
- PYTHON=Conda
branches:
only:
# This is where pull requests from "bors r+" are built.
- staging
# This is where pull requests from "bors try" are built.
- trying
# Enable building pull requests.
# - master

## Documentation: http://docs.travis-ci.com/user/languages/julia/
language: julia
sudo: false
dist: trusty
os:
- linux
- osx
julia:
- 1.0
- 1.1
- 1.2
- 1.3
- nightly
notifications:
email: false

matrix:
allow_failures:
- julia: nightly

env:
global:
- PYTHON=conda

before_install:
- julia -e 'using Pkg; Pkg.add("Conda")'
- julia -e 'using Conda; Conda.add("scikit-learn")'

before_script:
- |
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
brew update
brew upgrade cmake
fi
- pip install --user -U numpy scipy scikit-learn
- julia -e 'using Pkg; Pkg.build("PyCall"); Pkg.update()'

after_success:
# push coverage results to Codecov
- julia -e 'import Pkg;
cd(Pkg.dir("CalibrateEmulateSample.jl"));
Pkg.add("Coverage");
using Coverage;
Codecov.submit(Codecov.process_folder())'

jobs:
include:
- stage: "Documentation"
julia: 1.0
os: linux
script:
- export DOCUMENTER_DEBUG="true"
- julia --color=yes --project=docs/ -e 'using Pkg;
Pkg.develop(PackageSpec(path=pwd()));
Pkg.instantiate();
Pkg.build("CalibrateEmulateSample.jl")'
- julia --color=yes --project=docs/ docs/make.jl
after_success: skip
Loading