-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
17: Switch to Travis and AppVeyor r=charleskawczynski a=charleskawczynski climate-machine's azure pipeline has limited resources, so we're switching to travis/appveyor to avoid slowing down CLIMA's build. Co-authored-by: Charles Kawczynski <[email protected]>
- Loading branch information
Showing
8 changed files
with
1,084 additions
and
192 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
codecov: | ||
token: f995e5d9-25fb-42df-99c5-5b690294a298 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Oops, something went wrong.