.gitlab-ci.yml 670 Bytes
Newer Older
Mark Hymers's avatar
Mark Hymers committed
1 2 3 4 5 6 7 8
stages:
  - build_test

build_test:
  stage: build_test
  script:
    - apt update
    - apt upgrade -y
Mark Hymers's avatar
Mark Hymers committed
9
    - apt install -y python-numpy python3-numpy python-h5py python3-h5py python-sphinx python3-sphinx python-sphinx-rtd-theme python3-sphinx-rtd-theme ipython ipython3 flake8 python-setuptools python3-setuptools python-pytest python3-pytest python-pytest-cov python3-pytest-cov python-wheel python3-wheel
Mark Hymers's avatar
Mark Hymers committed
10 11 12 13
    - flake8
    - python setup.py build
    - make testv2
    - python3 setup.py build
Mark Hymers's avatar
Mark Hymers committed
14
    - make testv3
Mark Hymers's avatar
Mark Hymers committed
15
    - make doc-html
Mark Hymers's avatar
Mark Hymers committed
16 17 18 19 20 21
    - python3 setup.py sdist bdist_wheel
    - python setup.py bdist_wheel
  artifacts:
    paths:
      - dist/
    expire_in: 1 week