File: .travis.yml

package info (click to toggle)
python-ilorest 3.1.1%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 3,076 kB
  • sloc: python: 9,438; makefile: 286; sh: 3
file content (22 lines) | stat: -rw-r--r-- 590 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
language: python
python:
  - "2.7"
  - "3.6"

# command to install dependencies
install: "pip install -r requirements.txt"

# command to run tests
script: nosetests

deploy:
    # test pypi
  - provider: pypi
    server: https://pypi.python.org/pypi
    user: "rajeevkg"
    password:
      secure: "o9WW8rsVhjhZNTTvb30ArwnGIbKd1ZQ0KkQkQUIF9cskJxlkVLFQkcE8fCVVMhZ+BTXakHsAQ0nuKq29YB87dk6qf0Gvd3m/AcSjFSSxrtz4BeqA1vy8MmiUIztoJAGfEXaBKp52JnnIUbXuu+xzzOdFxeRul2GfYRT+KDKW/pk="
    on:
      branch: master
      tags: true
      condition: $TRAVIS_PYTHON_VERSION = "2.7"