forked from swift-nav/piksi_tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
62 lines (55 loc) · 1.51 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
62
sudo: required
language: c
matrix:
include:
- os: linux
- os: osx
osx_image: Xcode 8.2
- os: osx
osx_image: Xcode 7.3.1
- os: osx
osx_image: xcode6.4
before_install:
- sleep 3 #give xvfb some time to start
- rm -rf ~/home/.enthought
- travis_wait 60 make deps
- pip list
before_script:
- "export DISPLAY=:0.0"
- "export PATH=/usr/local/bin/:./:$PATH"
- Xvfb :0.0 -screen 1 800x600x16 &
- sleep 3
script:
- tox
- export TRAITS_DEBUG="1"
- rm -rf ~/home/.enthought
- PYTHONPATH=. python piksi_tools/console/console.py --file --error -p ./tests/data/piksi.bin & PID=$!
- sleep 10
- kill -n 9 $PID
- make build_console
- sudo python setup.py install
cache:
directories:
- $HOME/.pip/cache/
- /Library/Caches/Homebrew/
addons:
artifacts:
debug: true
paths:
- ./piksi_tools/console/pyinstaller/dist
working_dir: $TRAVIS_BUILD_DIR
target_paths: $TRAVIS_BUILD_NUMBER$TRAVIS_OS_NAME
bucket: console-ci-builds
s3_region: us-west-2
deploy:
provider: pypi
user: [email protected]
password:
secure: ieClfaRbsPwbrSIvxPw4BPJr907iYrTembEVTyHt506/lRO2ps2F6QOoMqv/LV3HWHCV01mPUM1fdOaGrs/mtrCtrBDHV6nb1En/u46g7R/lHnqkfVdo+Mu+z0Pfpd+WIGsUu8KxSNdT2TKvyVelhlqnLgksjvEc7RjXpDdPc7s=
on:
tags: true
all_branches: true
notifications:
email: false
slack:
secure: c/HX84/BjWHU/8LmtES2fh7lFiXwXnRJnwjCYjLw85M/Po2PYkGRkwk+o5BTX2cei9+QkXGxLcyCYZtMbRU0nN2S6t5Va7WaZulmFtqgnjn4eTxtdctk0Gk5nDB8qUuruxo8F5qki6z86UtRQzr0Ms52GZbUhLPsJTCsXZRyvk0=