forked from nion-software/nionswift-io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
42 lines (38 loc) · 1.43 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# commands to specify testing environments
language: python
matrix:
include:
- python: 3.6
- python: 3.7
dist: xenial
sudo: true
- python: 3.8-dev
dist: xenial
sudo: true
- python: nightly
dist: xenial
sudo: true
allow_failures:
- python: 3.8-dev
- python: nightly
branches:
only:
- master
- /^[0-9].+$/
# command to install dependencies
install:
- pip install -r test-requirements.txt
# command to run tests
script:
python -m unittest discover nionswift_plugin -p '*_test.py'
# command to deploy to pypi on tags
deploy:
provider: pypi
user: "cmeyer"
password:
secure: "hZ1ITMH4nbQE/3DwYm4bcMSRAzgH/fqbltigDf3qPbBFQ4rRvXKqnmDhn9ptlmPKTLY2OM3GRALPdXROxweWQXih9Zd3msIy1LCupY/BlkX5cLUjtIi9/QS3DWzbmDnkBGMz0tYtdIYn9xUd48Ccd7JRQAkRyKbQNW9Wv4mainkhKgzrnO+jPvyqnLbkLStLrWVzjrevvRsi89eaMyNYUFAoY8GrZrNf45vRKlHXbdhqaAMoyO062jOY0lSKBuBPyPJoASrxkrmogfzIq690wcN2sfp1pgsO1LrieQEmj7peKj7BL1A5q3TfKDRus5kPVVzJhqeGmMjRrrtNQ2/4YyGGNOQwOPPIsGG8FtYb4w1mDPxb9TVb04ew3bmKRDIgxu35IceIyohTlY5Icu1a/IKQZrWWQaRFkU6omMq5SvEyV/vTKub9clX/UUXQLSRxxtaObrlRvhQcAHpN0dYNvTC3Aa3MfVruOA3emHWnuC28Dl9tTJqQo5dnCC/E9jLRqcM1WTfxjNDFDRknZfnudDr9NDgfZj5DKz0WrgyTZ8NIT9x9qs17SnA9VJF/OdKXLXbZAAwGSGvGAVM0bL9y8VCTnXZs3JzynQhXEwEEs3xdD1RllA/33mA1hb02LqDfoLpWTsy08XpL/rXGWlNGIqx92y/hq3/UbT9xjK4mabA="
on:
tags: true
python: '3.6'
branch: master
distributions: "sdist bdist_wheel" # Your distributions here