diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 543a0f4e3bcf5b5d009ea66de34472d1f98f9eb4..17e9fba5227ef257022421455ef1569eb6838f00 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,7 +1,21 @@ +Python 2.6: + script: + - py_version=2.6 + - EXTRA_INSTALL="numpy scipy" + - export FC=gfortran-7 # https://gitlab.tiker.net/inducer/leap/issues/122 + - curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/build-and-test-py-project.sh + - ". ./build-and-test-py-project.sh" + tags: + - python2.6 + - gfortran + except: + - tags + Python 2.7: script: - py_version=2.7 - EXTRA_INSTALL="numpy scipy" + - export FC=gfortran-7 # https://gitlab.tiker.net/inducer/leap/issues/122 - curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/build-and-test-py-project.sh - ". ./build-and-test-py-project.sh" tags: @@ -14,6 +28,7 @@ Python 3.5: script: - py_version=3.5 - EXTRA_INSTALL="numpy scipy" + - export FC=gfortran-7 # https://gitlab.tiker.net/inducer/leap/issues/122 - curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/build-and-test-py-project.sh - ". ./build-and-test-py-project.sh" tags: @@ -22,26 +37,27 @@ Python 3.5: except: - tags -Python 3.6 Examples: +Python 3.6: script: - py_version=3.6 - - EXTRA_INSTALL="numpy scipy matplotlib" - - curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/build-py-project-and-run-examples.sh - - ". ./build-py-project-and-run-examples.sh" + - EXTRA_INSTALL="numpy scipy" + - export FC=gfortran-7 # https://gitlab.tiker.net/inducer/leap/issues/122 + - curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/build-and-test-py-project.sh + - ". ./build-and-test-py-project.sh" tags: - python3.6 + - gfortran except: - tags -Python 2.6: +Python 3.6 Examples: script: - - py_version=2.6 - - EXTRA_INSTALL="numpy scipy" - - curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/build-and-test-py-project.sh - - ". ./build-and-test-py-project.sh" + - py_version=3.6 + - EXTRA_INSTALL="numpy scipy matplotlib" + - curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/build-py-project-and-run-examples.sh + - ". ./build-py-project-and-run-examples.sh" tags: - - python2.6 - - gfortran + - python3.6 except: - tags