Skip to content

Commit c6cced7

Browse files
authored
Merge pull request #1237 from common-workflow-language/travis-cwl-conf
run conformance tests using Travis
2 parents 7ec307b + c4a4bfc commit c6cced7

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

.travis.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,16 @@ jobs:
2424
- python: "3.6"
2525
- python: "3.7"
2626
- python: "3.8"
27+
- python: "3.8"
28+
name: "CWL v1.0 conformance tests"
29+
script: ${TRAVIS_BUILD_DIR}/travis.bash
30+
env:
31+
- version=v1.0
32+
- python: "3.8"
33+
name: "CWL v1.1 conformance tests"
34+
env:
35+
- version=v1.1
36+
script: ${TRAVIS_BUILD_DIR}/travis.bash
2737
- python: "3.7"
2838
script: RELEASE_SKIP=head ${TRAVIS_BUILD_DIR}/release-test.sh
2939
script: tox

jenkins.bash renamed to travis.bash

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,4 @@
11
#!/bin/bash
2-
if [[ -z "${JENKINS_URL}" ]]
3-
then
4-
echo "Looks like we're not being run by Jenkins, this is dangerous"
5-
echo "due to use of git clean -fdx command."
6-
exit 1
7-
fi
82
venv() {
93
if ! test -d "$1" ; then
104
virtualenv -p python"${PYTHON_VERSION}" "$1"
@@ -13,8 +7,6 @@ venv() {
137
source "$1"/bin/activate
148
}
159

16-
# clean both the repos before the loop
17-
git clean --force -d -x || /bin/true
1810
wget https://github.com/common-workflow-language/common-workflow-language/archive/master.tar.gz
1911
tar xzf master.tar.gz && rm master.tar.gz
2012
docker pull node:slim
@@ -28,7 +20,6 @@ for CONTAINER in docker
2820
# singularity having issues on ci.commonwl.org; tests pass with https://gist.github.com/mr-c/0ec90d717617d074017c0cb38b72d1a4
2921
do
3022
venv cwltool-venv${PYTHON_VERSION}
31-
export PIP_DOWNLOAD_CACHE=/var/lib/jenkins/pypi-cache/
3223
# use pip2.7 and pip3 in separate loop runs
3324
pip${PYTHON_VERSION} install -U setuptools wheel pip
3425
pip${PYTHON_VERSION} uninstall -y cwltool

0 commit comments

Comments
 (0)