Skip to content
.gitlab-ci.yml 1.13 KiB
Newer Older
Andreas Klöckner's avatar
Andreas Klöckner committed
"Python 2.7":
  script:
  - "PY_EXE=python2.7 bash ./run-tests-for-ci.sh"
  tags:
  - python2.7
Andreas Klöckner's avatar
Andreas Klöckner committed
  except:
  - tags
  coverage: '/TOTAL.+ ([0-9]{1,3}%)/'
  variables:
    CODECOV_TOKEN: "895e3bf2-cfd0-45f8-9a14-4b7bd148f76d"
Andreas Klöckner's avatar
Andreas Klöckner committed

Andreas Klöckner's avatar
Andreas Klöckner committed
  script:
  - "PY_EXE=python3.6 bash ./run-tests-for-ci.sh"
Andreas Klöckner's avatar
Andreas Klöckner committed
  tags:
Andreas Klöckner's avatar
Andreas Klöckner committed
  except:
  - tags
  coverage: '/TOTAL.+ ([0-9]{1,3}%)/'
  variables:
    CODECOV_TOKEN: "895e3bf2-cfd0-45f8-9a14-4b7bd148f76d"

Documentation:
  script:
  - curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/build-docs.sh
  - export RELATE_LOCAL_TEST_SETTINGS=`pwd`/local_settings_example.py
  - ". ./build-docs.sh"
  tags:
  - python3.5
  only:
  - master
Andreas Klöckner's avatar
Andreas Klöckner committed

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

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 relate course accounts tests bin"
Andreas Klöckner's avatar
Andreas Klöckner committed
  tags:
  - python3.5
  except:
  - tags