Skip to content

Commit

Permalink
Test deploy to pypi upon taging (#120)
Browse files Browse the repository at this point in the history
* Test deploying to pypi upon taging

* Updating secure password
  • Loading branch information
brandonhoughton authored Jul 2, 2019
1 parent bedbe9e commit 913dd02
Showing 1 changed file with 25 additions and 23 deletions.
48 changes: 25 additions & 23 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,37 @@
dist: xenial # required for Python >= 3.7
dist: xenial
language: python
python:
- "3.5"
- "3.6"
- "3.7"
- '3.5'
- '3.6'
- '3.7'
cache: pip
addons:
apt:
packages:
- openjdk-8-jdk
- libglu1-mesa-dev
- freeglut3-dev
- mesa-common-dev
- mesa-utils
- xvfb
- libgl1-mesa-dri
- libglapi-mesa
- libosmesa6
- libxi-dev
# command to install dependencies
- openjdk-8-jdk
- libglu1-mesa-dev
- freeglut3-dev
- mesa-common-dev
- mesa-utils
- xvfb
- libgl1-mesa-dri
- libglapi-mesa
- libosmesa6
- libxi-dev
install:
- pip install .

# headless support
- pip install .
services: xvfb

# command to run tests
script:
- export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64/
- xvfb-run -a pytest --ignore=minerl/env/Malmo --ignore=tests/excluded

- export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64/
- xvfb-run -a pytest --ignore=minerl/env/Malmo --ignore=tests/excluded
branches:
only:
- master
deploy:
provider: pypi
user: minerl-test
server: https://testpypi.python.org/pypi
on:
tags: true
password:
secure: BiI8m/2IXJjWUhVVX07VSuNmZf6AayFsJmbHk/CDvJhd8eEBlycxpKrPM/Xtd8W8dz3OE0bsCoQuRemGtlibSNKTAD4L9vlW2+3T11MqhiyYwiQYYWgRfGrcPAdl23f6CGSkr50XuEAjFZdIreSxLzSQPJTbMdlvAIigPWj87IK0KNxBiwUt8VBf6o9wEu+vc9MzEUq9T4tl4tvEvxL6cycpcbHu5pTKZduon53h61boIv2GmFzWhCKPCC73bdUcQJKkDH3/kONjEcatL5KUULlO7hL5Pf5V76honL366Qdd0hc/ZletwIgqF1kYNgtdF6A8mKk56P3CpB2729nzboCH2+nMfziiTXrVFILRUZmghX0qX2SbFeU+j3AFex2t3LLPO2YPhkvCcq/rr2HnCeH4mKXMD0quhhdXbN3x5qdsWQSL9NTf21B1J5hJVaaR9KhBq9Gydc1UVsETYJ0f6ELB5unUOsbUe9ANuQmU/MZh+CkPXi3P7l3v6LDNrHJFPC5PpokgXSA4BK0wnEkUJWDTWBVxZWkUSIO4cbzRZ7SC3enypVG0rLs28bENXTSEHn4T3eGOcZJ9smcJ1j2RNKSRUevtWU8JjiyeZ5Aqu7YxuzLWVPD1N2RDKIDz3q4qFcFN/UrUodBbwbjCqqGG8fyXwiTVFkRIaLCXEIoQ4CE=

0 comments on commit 913dd02

Please sign in to comment.