Skip to content
.gitlab-ci.yml 3.23 KiB
Newer Older
Python 2.7 POCL:
    script:
    - export PY_EXE=python2.7
    - export PYOPENCL_TEST=portable
    - export EXTRA_INSTALL="pybind11 numpy mako"
    - 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
    - pocl
    except:
    - tags
    artifacts:
        reports:
            junit: test/pytest.xml
Python 3 Titan V:
    - export PY_EXE=python3
    - export PYOPENCL_TEST=nvi:titan
    - EXTRA_INSTALL="pybind11 numpy mako"
    - 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
    - nvidia-titan-v
    allow_failure: true
    except:
    - tags
    artifacts:
        reports:
            junit: test/pytest.xml

#Python 3 Titan X:
#    script:
#    - export PY_EXE=python3
#    - export PYOPENCL_TEST=nvi:titan
#    - EXTRA_INSTALL="pybind11 numpy mako"
#    - 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
#    - nvidia-titan-x
#    except:
#    - tags
#    artifacts:
#        reports:
#            junit: test/pytest.xml
Python 3 K40:
    - export PY_EXE=python3
    - export PYOPENCL_TEST=nvi:k40
    - export EXTRA_INSTALL="pybind11 numpy mako"
    - 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"
    allow_failure: true
    tags:
    - python3
    - nvidia-k40
    except:
    - tags
    artifacts:
        reports:
            junit: test/pytest.xml
Python 3 POCL:
    - export PY_EXE=python3
    - export PYOPENCL_TEST=portable
    - export EXTRA_INSTALL="pybind11 numpy mako"
    - 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
    - pocl
    except:
    - tags
    artifacts:
        reports:
            junit: test/pytest.xml
Python 3.6 POCL Examples:
  script:
  - export PY_EXE=python3.6
  - export PYOPENCL_TEST=portable
  - export EXTRA_INSTALL="pybind11 numpy mako 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:
  - pocl
  except:
  - tags
  artifacts:
    reports:
      junit: test/pytest.xml
Matt Wala's avatar
Matt Wala committed
Pylint:
  script:
Matt Wala's avatar
Matt Wala committed
  - export PY_EXE=python3
Matt Wala's avatar
Matt Wala committed
  - EXTRA_INSTALL="pybind11 numpy mako 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 boxtree test/test_*.py"
  tags:
Matt Wala's avatar
Matt Wala committed
  - python3
Matt Wala's avatar
Matt Wala committed
  except:
  - tags
Documentation:
    - EXTRA_INSTALL="pybind11 numpy mako"
    - curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/build-docs.sh
    - ". ./build-docs.sh"
    tags:
    only:
    - master
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 boxtree test"
    tags:
    except:
    - tags