forked from WithSecureLabs/drozer
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
62 lines (52 loc) · 1.35 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
language: python
sudo: required
jdk:
- oraclejdk7
addons:
apt:
packages:
- python-setuptools
- python-all
- dh-make
- protobuf-compiler
- libprotobuf-java
- python-protobuf
- python-twisted
- rpm
matrix:
include:
- os: linux
dist: trusty
python: "2.7_with_system_site_packages"
before_install:
- export PATH=$PATH:$(pwd)/bin
- pip install six -U
- pip install pyOpenSSL ndg-httpsclient pyasn1
- jdk_switcher use openjdk7
- jdk_switcher home openjdk7
install:
- python setup.py sdist bdist_wheel
- make rpm
- make deb
- VERSION=`git describe --tags | cut -c 1-5`
- sudo dpkg -i dist/drozer_$VERSION.deb
script:
- ./bin/drozer
deploy:
- provider: pypi
user: "drozer"
password:
secure: gD9zqaooEJYDh8bOLivY0C/mVcIoeLVv9tdXmuLz7psZvuWrjGCGCrkB0K82iZGbfl8sbZyUsCN0bH2RcdrmRDqUkaRmXz6k+aiqraM4ZfVboVKDITTDYK6U0byfoBQ6AKJvqM0zcqXkZmg/5jWzx/IVUcfhEwK39u4NYGZWYGM=
on:
tags: true
repo: mwrlabs/drozer
branch: master
distributions: "sdist bdist_wheel"
- provider: releases
api_key:
secure: "fglL2kvuniMMXES6KxsDaODKXO9Detq0hnJHmX5/wYnvvyfJvIAWQHEDZBMCqh8SXX/ulhea6NWjKfVditxMUvVmEJRYrDmkBiA6ImvluatgVeDTJuXtVnnSbjE2CiD2IT/fAX+/PMdjyR8PVwdw7oxymcYUbqVrDFyYRPG+9WQ="
file_glob: true
file: dist/*
skip_cleanup: true
on:
tags: true