b574bf10 |
image: quantumtinkerer/research
|
45f10db5 |
test:
script:
|
b713576d |
- conda install -y -q pytest-cov scikit-optimize
|
b4076686 |
- 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:
|
9be01d84 |
- mkdir ~/.ssh && chmod 700 ~/.ssh
- ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts
- echo "$DEPLOY_KEY" > ~/.ssh/id_rsa && chmod 600 ~/.ssh/id_rsa
|
71a55de3 |
after_script:
|
9be01d84 |
- rm -rf ~/.ssh
|
71a55de3 |
script:
- ORIGIN_URL=$(git config --get remote.origin.url)
- cd $(mktemp -d); git clone --bare $ORIGIN_URL .
- git push --mirror $REPO
|