-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add CI support with limited testing. We only check that the model driver runs with inputs from the CAPITOUL case -- no comparison made at this stage.
- Loading branch information
Showing
2 changed files
with
46 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# TEB model version x.x.x (https://github.com/dmey/teb-model). | ||
# Copyright (c) 2018 D. Meyer. | ||
|
||
matrix: | ||
include: | ||
- language: python | ||
os: linux | ||
dist: xenial | ||
python: "3.7" | ||
sudo: false | ||
env: BUILD_TYPE=Debug | ||
addons: | ||
apt: | ||
packages: | ||
- gfortran | ||
- language: python | ||
os: linux | ||
dist: xenial | ||
python: "3.7" | ||
sudo: false | ||
env: BUILD_TYPE=Release | ||
addons: | ||
apt: | ||
packages: | ||
- gfortran | ||
- language: generic | ||
os: osx | ||
env: BUILD_TYPE=Debug | ||
- language: generic | ||
os: osx | ||
env: BUILD_TYPE=Release | ||
|
||
before_install: | ||
- if [[ $TRAVIS_OS_NAME == osx ]]; then brew update && brew install gcc && brew upgrade python; fi | ||
|
||
install: | ||
- mkdir build && pushd build | ||
- cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE .. | ||
- cmake --build . | ||
- popd | ||
|
||
script: | ||
- pushd tests/CAPITOUL | ||
- ../../build/driver | ||
- popd |
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