Skip to content
.gitlab-ci.yml 1.9 KiB
Newer Older
Andreas Klöckner's avatar
Andreas Klöckner committed
Python 2.6:
  script:
  - py_version=2.6
  - export EXTRA_INSTALL="numpy"
  - 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
  except:
  - tags
  artifacts:
    reports:
      junit: test/pytest.xml

Andreas Klöckner's avatar
Andreas Klöckner committed
Python 2.7:
  script:
  - py_version=2.7
  - export EXTRA_INSTALL="numpy"
Andreas Klöckner's avatar
Andreas Klöckner committed
  - 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.7
  except:
  - tags
  artifacts:
    reports:
      junit: test/pytest.xml
Python 3.6:
Andreas Klöckner's avatar
Andreas Klöckner committed
  script:
  - py_version=3.6
  - export EXTRA_INSTALL="numpy"
Andreas Klöckner's avatar
Andreas Klöckner committed
  - 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
Andreas Klöckner's avatar
Andreas Klöckner committed
  except:
  - tags
  artifacts:
    reports:
      junit: test/pytest.xml
Andreas Klöckner's avatar
Andreas Klöckner committed
Python 3.7:
Andreas Klöckner's avatar
Andreas Klöckner committed
  script:
Andreas Klöckner's avatar
Andreas Klöckner committed
  - py_version=3.7
  - export EXTRA_INSTALL="numpy"
Andreas Klöckner's avatar
Andreas Klöckner committed
  - 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:
Andreas Klöckner's avatar
Andreas Klöckner committed
  - python3.7
Andreas Klöckner's avatar
Andreas Klöckner committed
  except:
  - tags
  artifacts:
    reports:
      junit: test/pytest.xml

Flake8:
  script:
  - curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/prepare-and-run-flake8.sh
Andreas Klöckner's avatar
Andreas Klöckner committed
  - ". ./prepare-and-run-flake8.sh pytools test"
  tags:
Andreas Klöckner's avatar
Andreas Klöckner committed
  - python3.6
  except:
  - tags

Pylint:
  script:
  - EXTRA_INSTALL="pymbolic matplotlib mpi4py"
  - py_version=3.6
  - curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/prepare-and-run-pylint.sh
  - ". ./prepare-and-run-pylint.sh pytools test/test_*.py"
  tags:
  - python3.6
  except:
  - tags
Andreas Klöckner's avatar
Andreas Klöckner committed

Documentation:
  script:
  - EXTRA_INSTALL="numpy"
  - curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/build-docs.sh
  - ". ./build-docs.sh"
  tags:
  - python3.5
  only:
  - master