forked from dronekit/dronekit-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
31 lines (31 loc) · 950 Bytes
/
.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
before_install: []
env:
global:
- TEST_SPEEDUP=10
- TEST_RATE=200
- TEST_RETRY=1
install:
- 'a() { set -e; }'
- "z() { E=$?; test $E -eq 0 && return 0; printf \"\\n\\033[1;31mThe command failed with exit code $?.\\033[0m\"; set -e; return $E; }"
- (a; sudo pip2 install nose psutil mock );z
- '(a; sudo pip2 install git+https://github.com/3drobotics/dronekit-sitl-runner.git );z'
script:
- (a; sudo python setup.py install );z
- (a; [ "${TRAVIS_PULL_REQUEST}" != "false" ] || nosetests tests/web );z
- (a; nosetests tests/unit );z
- (a; python -m tests.sitl );z
git:
depth: 10
language: objective-c
notifications:
email: false
slack:
secure: IYgZ83X065I/LljGrPEACZms+KDwrojiQbboFHhvNxL2Zkc5jHqwBK6PD1BsJh2JVun9fCZ1v2R8KuDsf+Qz2dCximdOZcHI81L9JUOZYuSJ2TVlbKiC00WdXpcQ6g7pDTLm/mGBoPxC+MuC5l8zZdbpPBpEa0F/YCe/n7tbT+g=
matrix:
fast_finish: true
branches:
only:
- master
- patch
- major
- minor