ci: added macOS test job

to make sure that the environment files are osx-compatible
parent 0cfac3de
......@@ -17,7 +17,27 @@ variables:
before_script:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
test:
test-macos:
tags:
- macos_highsierra
stage: test
variables:
INSTALL_PATH: "${CI_PROJECT_DIR}/miniconda"
only:
- master
- merge_requests
- schedules
before_script: []
script:
- curl -o ./miniconda.sh https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh
- /bin/bash miniconda.sh -b -p ${INSTALL_PATH}
- source ${INSTALL_PATH}/etc/profile.d/conda.sh
- conda update --yes conda
- conda env create -f environment-py27.yml
- conda env create -f environment-py36.yml
- conda env create -f environment-py37.yml
test-linux:
stage: test
only:
- merge_requests
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment