.gitlab-ci.yml
b574bf10
 image: quantumtinkerer/research
45f10db5
 test:
   script:
b4076686
     - conda install -y -q pytest-cov
     - py.test --verbose --cov=adaptive --cov-report term --cov-report html adaptive
   artifacts:
     paths:
       - htmlcov
71a55de3
 
 mirror repository:
   allow_failure: true
   variables:
     REPO: "git@github.com:python-adaptive/adaptive.git"
   before_script:
     - mkdir /root/.ssh && chmod 700 /root/.ssh
     - ssh-keyscan -t rsa github.com >> /root/.ssh/known_hosts
     - echo "$DEPLOY_KEY" > /root/.ssh/id_rsa && chmod 600 /root/.ssh/id_rsa
   after_script:
     - rm -rf /root/.ssh
   script:
     - ORIGIN_URL=$(git config --get remote.origin.url)
     - cd $(mktemp -d); git clone --bare $ORIGIN_URL .
     - git push --mirror $REPO