diff options
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..ebafe4d --- /dev/null +++ b/.travis.yml @@ -0,0 +1,74 @@ +language: generic + +env: + global: + - PYMODULE=immutables + - RELEASE_PYTHON_VERSIONS="3.5 3.6" + + - S3_UPLOAD_USERNAME=oss-ci-bot + - S3_UPLOAD_BUCKET=magicstack-oss-releases + # S3_UPLOAD_ACCESSKEY: + - secure: "iU37gukuyeaYM69StkR/aUTNgolblBdw2is034evvrm/SG0bKyzVVSrcK/dts9jolkCxJi+01VfpzxIBu2PF11QnCN1exUILb+XfmR+dVxUnNY2M1qqjILHvQ92rFJ9f2TlbYa2AlwgKynZlY4+edVSACSWwD/+TbWGAQEp0WInalA8ohljir+EPueXaYyC8mmH55cNQIa5WdDA2Vpg5ahRDdhVyD2J+/fLg78syLV7FGlnpXtASo9XiQKmRpPyHIT23yQB444kVh9xcjvuiB3aUBP5bGC2H4unElGYhCvfQvb1GoWvDqyvfzZvTOjlHqnG4AvIPoSCgEu/9cu8Cm/9OxWtqtWy7dECM8ZUIlOi3oPcvwUYDpNYAdATbTr1T6FRCBEp2eOi3sKoeE+nUDgQaN4r+ple4BKYnjrsSllXhI5W8ZqDNoUSsoGu+z6GFn6Dszrj6jbq8JHV4mZT9RCfR1y6inXWYGmaNRlwzm8wPHTav2RbW2O6bbwkkATWwYpyRB2FRlwMX6BB06druZWNOzx09RS8pTHnqcKOXW2mENNMgrA03OJUEV30UG/ncLZELYTpBARSJwymxjmmTK7vEI/HfxHkPrKcLLPPn2GoWym7mF2Lkh+jp81FkCGYrLTquyKPaoeUsofYukWMbGwE99ePL5dLocVDqTzatAoU=" + # S3_UPLOAD_SECRET: + - secure: "uCcM67fmT3ODhaHrUKhuid/DJZzy9aMtaVdRCkAkjaF/X0Dgj1Dq9bV/PPLn+HjVIRiloHKK4fk6eMLmnI/PWPnTD7hVYse2EC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Ff/xO1AD2BO3jjU9oBZfKQpxCJ58gPsQrRt6qM3Y6zYuF8s4B+llpwM/ex2xnNwrTbNkp4ARyXyCujX+ixhjiBLtElfGoHPP1jOaIkJhGje9DxaptddfFBDLAdq0/3Q+LHOmwdQcH5+libUy3HnyP7jf51kjjWE3XEJGSchHI2ewEAn9UZRH8h0UNRXutBzUVvKgC6K1lUvqzEreKVxvrYe6zgbZc/DiUvLgIzJBiJgP9rdZYpDQ=" + +branches: + # Avoid building PR branches. + only: + - master + - ci + - releases + - /^v\d+(\.\d+)*$/ + +matrix: + fast_finish: + true + + include: + - os: linux + dist: trusty + sudo: false + language: python + python: "3.5" + env: BUILD=tests + + - os: linux + dist: trusty + sudo: false + language: python + python: "3.6" + env: BUILD=tests,wheels,release + + - os: osx + env: BUILD=tests,wheels PYTHON_VERSION=3.5.4 PIP_USER=1 + + - os: osx + osx_image: xcode8.3 + env: BUILD=tests,wheels PYTHON_VERSION=3.6.4 PIP_USER=1 + + allow_failures: + - python: "3.7-dev" + +cache: + pip + +before_install: + - .ci/travis-before-install.sh + +install: + - .ci/travis-install.sh + +script: + - .ci/travis-tests.sh + - .ci/travis-build-wheels.sh + +deploy: + provider: script + script: .ci/travis-release.sh + on: + tags: true + condition: '"${BUILD}" == *release*' |