-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
33 lines (31 loc) · 1.36 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
language: python
python:
- 2.7
- 3.4
- 3.5
- 3.6
install:
- cp config.default.py config.py
- pip install -r requirements.txt -r test-requirements.txt
before_script:
- flake8 --exclude=config.py,config.default.py
script:
- py.test -v --cov postmaster --cov-report term-missing tests/
after_success:
- coveralls
before_deploy:
- python manage.py clean
- pip install "ansible>=2.0.0.1"
- mkdir ops/ansible/roles
- ansible-galaxy install -r ops/ansible/requirements.yml -p ops/ansible/roles/
- gem install fpm
- chmod 777 build_release.sh
- ./build_release.sh
deploy:
provider: bintray
file: .bintray_descriptor.json
user: thatarchguy
key:
secure: qoGnfUwsoajFoclGpmhTFj8rP6botEqdXHBOP8xG3EvdNMvF1FNhH6DjhKBF3bwQf7/VEczz/TqVaTsOgrdHJvVLTxYSckM569wbdFLn6/b1MohdBaxu1/mcXXw+RVTjep45cwlzaMQoe3aZn8KPtjfal5Bitc2U2cNepkoaj+nftNGpCZVh1pWI/uQXlKQK/CfzS8mQSKrdsRuBvko88R7Th8otqdSwx+dM+IwtimJsupAhlbpU5XlK01zNn++QVvZ3kkPGWVxRFLlPhDhWWxK/RmTBLZ/HqoE6oyHBsd+e8ydLvVovMjAdagBq4ABXPstSr9/vYfaS9o6RTaqWbt0MFdkUpQdpfUnFARay8rPYJkzkRdqRll5byRh9IHxZc34z+j3lVjbzKRyb0kfeCTDdidULJytWa3SWN4xdCMhyyjjpULsMI1X4RYYtO89Uc85BlD0AQrWCkmJ7rqpUPxkaSfBEuhotTi0PUyUIaU1xLpgtNQFf70Pf3bSEG6W3XDR3vy2k6yiZWWSRAQWSbxTA64DmW0wk/q9ePxso3uqzALYU1M5WflEEnCBkXGFQh8MqAmugHjP7BMjoe+vlJFt5ddoa7yNV14EkvbHY/rb1JVA2Oa4FgVVyt0JOYEnPIvD+NY0VjFHWrOAro3uKHNlOg5nUaMEddwIuKZpoZgo=
on:
tags: true