-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
33 lines (28 loc) · 1.07 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
sudo: required
language: python
before_install:
# Install ROS
- sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu xenial main" > /etc/apt/sources.list.d/ros-latest.list'
- sudo curl -sSL 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0xC1CF6E31E6BADE8868B172B4F42ED6FBAB17C654' | sudo apt-key add -
- sudo apt-get update
- sudo apt-get install -y --no-install-recommends ros-kinetic-ros-base
- sudo rosdep init
- rosdep update
- sudo apt install -y --no-install-recommends python-rosinstall python-rosinstall-generator python-wstool build-essential python-catkin-tools ros-kinetic-roslint
- sudo pip install catkin_pkg empy
- source /opt/ros/kinetic/setup.bash
# Install RDFLib
- sudo pip install rdflib
install:
- cd ../ && mkdir -p catkin_ws/src
- cp -r mas_knowledge_base catkin_ws/src/
- cd catkin_ws && catkin init && cd src && catkin build
- source ../devel/setup.bash
- cd mas_knowledge_base
stages:
- test
jobs:
include:
- stage: test
script:
- python common/tests/ontology_query_interface_unit_tests.py