Commit aef14faf authored by Marc-Antoine Drouin's avatar Marc-Antoine Drouin
Browse files

correct error in .gitlab-ci.yml

parent aaec59c3
image: continuumio/anaconda3:latest
image: python:3.6
variables:
GIT_SSL_NO_VERIFY: "1"
PIP_CACHE_DIR: "$CI_PROJECT_DIR/pip-cache"
stages:
- test
cache:
paths:
- "$CI_PROJECT_DIR/pip-cache"
key: "$CI_PROJECT_ID"
# Pick zero or more services to be used on all builds.
# Only needed when using a docker container to run your tests in.
# Check out: http://docs.gitlab.com/ce/ci/docker/using_docker_images.html#what-is-a-service
#services:
# - mysql:latest
# - postgres:latest
# This folder is cached between builds
# http://docs.gitlab.com/ce/ci/yaml/README.html#cache
#cache:
# paths:
# - ~/.conda/
# This is a basic example for a gem or script which doesn't use
# services such as redis or postgres
before_script:
- python -V
- conda create -n raw2l1 python=2
- source activate raw2l1
- conda install --file requirements.txt
- pip install -r requirements.txt
- cd raw2l1
run_test:
stage: test
test:
script:
- nosetests
coverage:
stage: test
script:
- nosetests -q --cover-html-dir=build --cover-html
- coverage report -m
coverage: '/TOTAL.+ ([0-9]{1,3}%)/'
artifacts:
paths:
- build
expire_in: 1 day
- py.test --cov
coverage: '/\d+\%\s*$/'
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