diff options
author | Joseph Hunkeler <jhunkeler@users.noreply.github.com> | 2020-07-02 17:27:03 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-02 17:27:03 -0400 |
commit | 9c149534389845412fbfb305b8a6f00923009c4b (patch) | |
tree | 0bb4cba597691aa9be0dc23bd1270e2bcbfde1bb /test_config.sh | |
parent | 2df3b35bebdb81c8e45c08d5a7af46e8fa32e07b (diff) | |
parent | 288ce22e256f71ba01cea63aa03a4880e5b1612d (diff) | |
download | splitfits-9c149534389845412fbfb305b8a6f00923009c4b.tar.gz |
Merge pull request #4 from jhunkeler/circleci-project-setup
Circleci project setup
Diffstat (limited to 'test_config.sh')
-rw-r--r-- | test_config.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test_config.sh b/test_config.sh new file mode 100644 index 0000000..7746a6d --- /dev/null +++ b/test_config.sh @@ -0,0 +1,11 @@ +test_program="${RTDIR}/splitfits" +test_program_version="$(git describe --always --tags --long)" +test_data="${RTDIR}/data" +test_data_remote=https://nx.astroconda.org/repository +test_data_remote_auth=${test_data_remote_auth:-} +test_data_upload="generic/spb-splitfits" +if [[ $CIRCLECI == "true" ]]; then + test_data_upload="${test_data_upload}/ci/${CIRCLE_BRANCH}_${CIRCLE_JOB}/${CIRCLE_BUILD_NUM}/${test_program_version}" +else + test_data_upload="${test_data_upload}/user/${test_program_version}" +fi |