Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master' into spring_shooting
- Loading branch information
Showing
258 changed files
with
31,450 additions
and
3,891 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 was deleted.
Oops, something went wrong.
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,41 +1,69 @@ | ||
version: ~> 1.0 | ||
|
||
language: python | ||
filter_secrets: false # https://github.com/travis-ci/travis-ci/issues/8934 | ||
|
||
branches: | ||
only: | ||
- master | ||
- stable | ||
- docs_deploy # used for experimenting with docs builds | ||
- /^v\d+(\.\d+)+/ | ||
|
||
|
||
notifications: | ||
webhooks: https://coveralls.io/webhook | ||
|
||
before_install: | ||
- deactivate # virtual envs don't play nice with conda | ||
- export PYTHONUNBUFFERED=true # immediately flush stdout to terminal | ||
- source devtools/ci/miniconda_install.sh | ||
#- conda install -y pyyaml # I don't think this is needed now... | ||
|
||
install: | ||
- export OPS_ENV="openpathsampling-py${CONDA_PY}" | ||
- source devtools/conda_install_reqs.sh | ||
- if [ -z "$MINIMAL" ] ; then source devtools/conda_install_reqs.sh; else pip install -r devtools/minimal.txt -r devtools/minimal_testing.txt; fi | ||
# for the first OPS install, we will run the ops_fixes autorelease branch | ||
#- pip install git+https://github.com/dwhswenson/autorelease.git@v0.1.2 | ||
- pip install autorelease | ||
- pip install --no-deps -e . | ||
|
||
before_script: | ||
before_script: | ||
- python --version | ||
- python -c "import openpathsampling" | ||
- source devtools/ci/git_hash.sh | ||
- conda info --envs | ||
- conda list | ||
|
||
script: | ||
- python devtools/autorelease_check.py --branch ${TRAVIS_BRANCH} --event ${TRAVIS_EVENT_TYPE} | ||
- source devtools/ci/pytests.sh | ||
- source devtools/ci/ipythontests.sh | ||
- if [ -z "$MINIMAL" ] ; then source devtools/ci/ipythontests.sh; fi | ||
|
||
# Upload new docs | ||
- bash -x devtools/ci/after_sucess.sh | ||
- if [ -z "$MINIMAL" ] ; then bash -x devtools/ci/after_sucess.sh; fi | ||
|
||
addons: | ||
apt: | ||
packages: | ||
- pandoc | ||
|
||
env: | ||
global: | ||
- secure: "NJvoSrLNd2ZR3HluJjEqI36gD5lsucwIvgnYjNmM4cwnnA77aLV9FRYTwlLRZn3XY9FL8KOzL5l0amNzMD7sQrf7bWwWv7iCUBddH549q9RSgiuOugtodYJ6VaXi76hk1rOgcJpDoCj9wTCIlMtWibPUzr1QHmdihfdM2iA2kkE=" | ||
- secure: "l9NJkZDD0ALhkErUvhRrreLsrcWErd+CXpWv8dxHGtkjemNx6CwVtyL+a30jz/QwMANSZbKll/cPK5yJQvuwDaWxja6UPLLKVNGtma+CmwKcIC/wwTwbMoxcS62fyLJ3kS0qR8oCQz2nCPKiYyRGADtPLWVMZckY1SJfNYcKuCM=" | ||
- secure: "kb37xmsSV3pEnESnINzwlW2Cju/UFzA/G+m+NsihAwO8RMPZwKCrZK/rptgkUDACXJxom5M690WEukQkHnOt+OTrWhu7WKZgYeVuWUs2++RohYv/m5npaOHMMn+uYmF328v4PvPmXxbD02zzg5Tgdn82x8oa6J8BKX8ohOQ6Xpg=" | ||
matrix: | ||
- CONDA_PY=3.7 MINIMAL=true | ||
- CONDA_PY=2.7 | ||
- CONDA_PY=3.6 | ||
- CONDA_PY=3.7 | ||
global: | ||
- COVERALLS_PARALLEL=true | ||
- TWINE_USERNAME="dwhswenson" | ||
# TWINE_PASSWORD (set via web) | ||
#- secure: "zs/3PN46wXFzTDli8LE9jJmNov27xAy7REaTK4s3DV9Ocmf5grqIUbUfFfa7XyOvamr6C7TSHib1SqQvEbHv416AcOD9FWZm9iNj0MO2dBimyXrvR50TFKG/dcp0Qzlp54hYFM4bEzWJZUVN120xynIKgfy74YBOA8DQ6B7FlyY=" | ||
# AUTORELEASE_TOKEN (set via web) | ||
#- secure: "r9u8xvXo3avaloOogrqIVF/oFDeMLSYvZbBYv3y3nBN17p3I9C2FhUbu/VpiRBA0kX6U2BsAHh5DF8ymRD254/f3s8L1BapanLfmoRjp9cXAJ95RZhZ8Cxw9W36VEGcIa+JG1G31oqabEBW4ozQmXsGPSYI3+wfFmhchJPpaDRE=" | ||
- secure: "NJvoSrLNd2ZR3HluJjEqI36gD5lsucwIvgnYjNmM4cwnnA77aLV9FRYTwlLRZn3XY9FL8KOzL5l0amNzMD7sQrf7bWwWv7iCUBddH549q9RSgiuOugtodYJ6VaXi76hk1rOgcJpDoCj9wTCIlMtWibPUzr1QHmdihfdM2iA2kkE=" | ||
- secure: "l9NJkZDD0ALhkErUvhRrreLsrcWErd+CXpWv8dxHGtkjemNx6CwVtyL+a30jz/QwMANSZbKll/cPK5yJQvuwDaWxja6UPLLKVNGtma+CmwKcIC/wwTwbMoxcS62fyLJ3kS0qR8oCQz2nCPKiYyRGADtPLWVMZckY1SJfNYcKuCM=" | ||
- secure: "kb37xmsSV3pEnESnINzwlW2Cju/UFzA/G+m+NsihAwO8RMPZwKCrZK/rptgkUDACXJxom5M690WEukQkHnOt+OTrWhu7WKZgYeVuWUs2++RohYv/m5npaOHMMn+uYmF328v4PvPmXxbD02zzg5Tgdn82x8oa6J8BKX8ohOQ6Xpg=" | ||
|
||
import: | ||
- dwhswenson/autorelease:autorelease-travis.yml@v0.2.1 |
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,3 +1,4 @@ | ||
# include visualization .css files | ||
LICENSE | ||
graft openpathsampling | ||
include openpathsampling/resources/*.css | ||
include openpathsampling/resources/*.css |
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,29 @@ | ||
#/usr/bin/env python | ||
from __future__ import print_function | ||
import setup | ||
import openpathsampling | ||
from autorelease import DefaultCheckRunner, conda_recipe_version | ||
from autorelease.version import get_setup_version | ||
from packaging.version import Version | ||
|
||
repo_path = '.' | ||
SETUP_VERSION = get_setup_version(None, directory='.') | ||
versions = { | ||
'package': openpathsampling.version.version, | ||
'netcdfplus': openpathsampling.netcdfplus.version.version, | ||
'setup.py': SETUP_VERSION, | ||
} | ||
|
||
RELEASE_BRANCHES = ['stable'] | ||
RELEASE_TAG = "v" + Version(SETUP_VERSION).base_version | ||
|
||
if __name__ == "__main__": | ||
checker = DefaultCheckRunner( | ||
versions=versions, | ||
setup=setup, | ||
repo_path='.' | ||
) | ||
checker.release_branches = RELEASE_BRANCHES + [RELEASE_TAG] | ||
|
||
tests = checker.select_tests_from_sysargs() | ||
n_fails = checker.run_as_test(tests) |
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 was deleted.
Oops, something went wrong.
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
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.