-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
23 additions
and
15 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/bash | ||
set -euxo pipefail | ||
export CPATH=$SUNDBASE/include:$CPATH | ||
export LIBRARY_PATH=$SUNDBASE/lib | ||
export LD_LIBRARY_PATH=$SUNDBASE/lib | ||
source /opt-3/cpython-v3.*-apt-deb/bin/activate | ||
python3 -m pip install --cache-dir $CACHE_ROOT/pip_cache --user -e .[all] | ||
python3 -c "import pycvodes; import pyodesys; import pygslodeiv2" # debug this CI config | ||
git fetch -tq | ||
python3 setup.py sdist # test pip installable sdist (checks MANIFEST.in) | ||
git archive -o dist/chempy-head.zip HEAD # test pip installable zip (symlinks break) | ||
mkdir -p deploy/public_html/branches/${CI_COMMIT_BRANCH} | ||
cp dist/chempy-* deploy/public_html/branches/${CI_COMMIT_BRANCH}/ |
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,6 @@ | ||
#!/bin/bash | ||
set -euxo pipefail | ||
source /opt-3/cpython-v3.*-apt-deb/bin/activate | ||
[[ $(python3 setup.py --version) =~ ^[0-9]+.* ]] | ||
./scripts/run_tests.sh --cov chempy --cov-report html | ||
./scripts/coverage_badge.py htmlcov/ htmlcov/coverage.svg |
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