-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
35 lines (31 loc) · 921 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
32
33
34
35
---
language: python
python: "2.7"
matrix:
include:
- os: linux
dist: trusty
- os: linux
dist: xenial
- os: linux
dist: bionic
sudo: required
addons:
apt:
packages:
- python-pip
install:
# TODO this becomes unnecessary on trusty/indigo EOL
# workaround from https://github.com/travis-ci/travis-ci/issues/9361
# to upgrade to dpkg >= 1.17.5ubuntu5.8, which fixes https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1730627
- sudo apt-get install -y dpkg
- pip install ansible
- ansible --version
- printf '[defaults]\nroles_path=../' >ansible.cfg
script:
- ansible-playbook tests/test.yml -i tests/inventory --syntax-check
- ansible-playbook tests/test.yml -i tests/inventory --connection=local
- source $(find /opt/ros -mindepth 2 -maxdepth 2 -name setup.bash)
- which roscore
notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/