repo2docker/.travis.yml

68 wiersze
4.1 KiB
YAML
Czysty Zwykły widok Historia

2017-07-29 23:22:04 +00:00
language: python
sudo: required
cache: pip
2017-07-29 23:22:04 +00:00
services:
2017-10-05 00:07:05 +00:00
- docker
2017-07-29 23:22:04 +00:00
python:
- 3.6
2017-07-29 23:22:04 +00:00
install:
2018-07-02 20:12:58 +00:00
# Make a wheel and install it to test to catch possible
# issues with releases
2018-07-02 19:45:10 +00:00
- pip install --upgrade setuptools pip
- pip install -r dev-requirements.txt
- python setup.py bdist_wheel
- pip install dist/*.whl
script:
2018-07-02 20:12:58 +00:00
# cd into tests so CWD being repo2docker does not hide
# possible issues with MANIFEST.in
2018-07-02 19:45:10 +00:00
- if [ ${REPO_TYPE} == "r" ]; then cd tests && travis_wait pytest --cov repo2docker
-v ${REPO_TYPE}; else cd tests && travis_retry pytest --cov repo2docker -v ${REPO_TYPE};
fi
after_success:
2018-07-02 19:45:10 +00:00
- pip install codecov
- codecov
2017-10-05 00:29:46 +00:00
jobs:
include:
2018-07-02 19:45:10 +00:00
- stage: deploy
script: skip
if: type = push
env:
- REPO_TYPE=
deploy:
provider: script
script: "./travis/travis-script.bash"
on:
branch: master
2017-07-30 03:32:12 +00:00
env:
2017-10-05 00:32:17 +00:00
matrix:
2018-08-05 21:33:47 +00:00
- REPO_TYPE=base
2017-10-05 00:32:17 +00:00
- REPO_TYPE=conda
- REPO_TYPE=venv
- REPO_TYPE=stencila
2017-10-05 00:32:17 +00:00
- REPO_TYPE=julia
- REPO_TYPE=r
2017-10-05 00:32:17 +00:00
- REPO_TYPE=dockerfile
- REPO_TYPE=external/*
- REPO_TYPE=*.py
2017-10-05 00:07:05 +00:00
global:
- secure: gX7IOkbjlvcDwIH24sOLhutINx6TZRwujEusMWh1dqgYG2D69qQai/mTrRXO9PGRrsvQwIBk4RcILKAiZnk5O2Z1hLoIHk/oU2mNUmE44dDm4Xf/VTTdeYhjeOTR9B+KJ9NVwPxuSEDSND3lD7yFfvCqNXykipEh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EOAo2vhBsmQKJA7IquB3N88M11L874h/8J+oc/osW1EB5z7Ukke5YCq94Qh3qImSIhJULXMMc1QjEqYsqhLXtiMG2HUge0Y5hwwnnbEIRMQ=
- secure: KoOOJUp60vtvx/mXzoZWpvWgB6W3rr8I0gDWL2laCTgxo6HsTL+SSOY1l12SBE2jlvFmQqVwPPBfnp5Dudna2RQFF36eO2jUlISBkvK/q/GRmOQbjpAJRtVlan8Z4dlIf4az/oQ9G0ZUEfgUliVvS5MTrEPvKej3znug2zAH1t+H0U6aon1VJeVC+b94jsETGvQ7HHupqrr+DNGrNVHOgAazw7z4j+VtfZyfNaglnrKwYPeUljw3GIOXyFmP81t/cLiDY+IjPPepUYJFQIjCoVpIDm6UR70d4mzWf/LYWONEdh8LhDJZ2UyEtnUT2IPTdhqem1BfCAKUcLedHPk3S4Lcn0jL23os0klHeQvn9JRPEDV/Ib33XGcNEIXZi0pBkluUyhx8JgTz4e+KL8jKcyf9TRX7o/ViH7Ler6viliyMu15yfs2mJKAxzw6GFMtqGzhJ8tUXjguTozfjKTJKjBpkFoYdYbO9GqNkBQo2F7H+8zAmb4D4K0jzfOo8owjYLXJzOMJN5f5pKBqfLdjOtTxve4PrCgy4B8x7GDkW41SuRz2pkVwRDMMJRCetLcbqpEK+8b9Oy/inlxt7/56oS/tvvAtBj2FlLGBPQJKpwyZozIY9XqXWu8u+VbRsSTqbRtdSHzzKyQ25a03dc7KDHmyoDAlzyehe6cHPWp1UqXg=
matrix:
include:
2018-07-02 19:45:10 +00:00
- python: 3.4
env:
- REPO_TYPE=venv
deploy:
provider: pypi
user: betatim
2018-07-02 19:49:32 +00:00
# this line together with `setup.cfg` creates universal wheels as long as
# repo2docker is a python only module (no compiled code)
2018-07-02 19:45:10 +00:00
distributions: sdist bdist_wheel
on:
tags: true
repo: jupyter/repo2docker
condition: "$REPO_TYPE = conda"
password:
secure: pF7wWm9m0tR+IXd8YBsYj4iqV+MlaM01I/fi3V/jDGDUNxLI8G4/0tJWeT1qIMY0YNr3QE2AE09UNdYkxz3A3bEw+3cNwIzAYAuwgFl7RO9xjMQvXMhiH9MNFJ2DKmHqPdMg/gI9g6WGUvGCLNhXT7DJmNiEE6D2mD6v8MN+E8rrv2TIej/f7nbPR2yfpHO54/PtLqiRAouGg6HaUkOmuzi84d1bexjpAhVBux/U6zSRy0wWOXzq6kuZpP3xO0xt5po3sYAZT3njB6ca2dxeaoPj2bb66JQ2mHT5snKpkMuJZfl66L55ItVnCnS0YpIa+j5MoW9pJAacmTEQ+hmWDxOj7yBFKjZ35PIhywde38+UuEZ3wU3TNp9wySTKEnxr9d2GX7K0d2X+G3DaN1AcFtQLjTJiJbLdIy5CuhCEFHX53w09H6MuAwbFMj6d4gkVhd2tBI8tv3G1bCQAu7lc8F1q0wRF9C1uvd/nqL+BDHab1VyeC5d96E2WdtqkqbGGIQ7IRzqlrCFKUiDLhRAkZxAdxc98lFfSiBgKeJDEja7gX1kQ4z/YSlBkUjRQb7InBfKjUQFhLVV/zSFX/UOw0/J5wi/xGOFHILbt5vWQ5CHjDr/gXeXzF3lcKzl97uuZFHwkuzsaHJMZeM2++F4sGw9OkQ9GDLDOD0EBeMvsP5Q=