Skip to content
Snippets Groups Projects
Commit 35e722bb authored by Moritz Huebner's avatar Moritz Huebner
Browse files

Merge branch 'change-docker-image' into 'master'

Update the docker image to a custom test suite

See merge request Monash/tupak!216
parents 09083d03 6184489b
No related branches found
No related tags found
No related merge requests found
...@@ -16,14 +16,9 @@ stages: ...@@ -16,14 +16,9 @@ stages:
# test example on python 2 # test example on python 2
python-2: python-2:
stage: test stage: test
image: continuumio/anaconda image: bilbydev/test-suite-py2
before_script: before_script:
- apt-get update -y # Install the dependencies specified in the Pipfile
- apt-get install gcc -y
- apt install -y libgl1-mesa-glx
- pip install pip --upgrade
- pip install pipenv
- pip install enum
- pipenv install --two --python=/opt/conda/bin/python2 --system --deploy - pipenv install --two --python=/opt/conda/bin/python2 --system --deploy
script: script:
- python setup.py install - python setup.py install
...@@ -33,17 +28,9 @@ python-2: ...@@ -33,17 +28,9 @@ python-2:
# test example on python 3 # test example on python 3
python-3: python-3:
stage: test stage: test
image: continuumio/anaconda3 image: bilbydev/test-suite-py3
before_script: before_script:
- apt-get update -y # Install the dependencies specified in the Pipfile
- apt-get install gcc -y
- apt install -y libgl1-mesa-glx
- pip install pip --upgrade
- pip install 'coverage>=4.5'
- pip install coverage-badge
- pip install flake8
- pip install pytest-cov
- pip install pipenv
- pipenv install --three --python=/opt/conda/bin/python --system --deploy - pipenv install --three --python=/opt/conda/bin/python --system --deploy
script: script:
- python setup.py install - python setup.py install
...@@ -57,7 +44,6 @@ python-3: ...@@ -57,7 +44,6 @@ python-3:
- coverage-badge -o coverage_badge.svg -f - coverage-badge -o coverage_badge.svg -f
# Make the documentation # Make the documentation
- pip install -r docs/requirements.txt
- cd docs - cd docs
- conda install -y make - conda install -y make
- make clean - make clean
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment