Skip to content
.gitlab-ci.yml 1.29 KiB
Newer Older
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
Andreas Klöckner's avatar
Andreas Klöckner committed
  script:
  - 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
  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
  - . ./prepare-and-run-flake8.sh "$CI_PROJECT_NAME" test
  tags:
Andreas Klöckner's avatar
Andreas Klöckner committed
  except:
  - tags

Pylint:
  script:
  - EXTRA_INSTALL="pymbolic matplotlib"
Matt Wala's avatar
Matt Wala committed
  - curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/prepare-and-run-pylint.sh
  - . ./prepare-and-run-pylint.sh "$CI_PROJECT_NAME" test/test_*.py
Andreas Klöckner's avatar
Andreas Klöckner committed
  tags:
  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:
Andreas Klöckner's avatar
Andreas Klöckner committed
  only:
  - master