forked from ros-infrastructure/superflore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
24 lines (24 loc) · 793 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
dist: trusty
sudo: required
language: python
services: docker
python:
- "3.4"
- "3.5"
# PyPy versions
- "pypy3"
before_install:
- sudo echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" | sudo tee -a /etc/apt/sources.list.d/ros-latest.list
- sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
- sudo apt-get update -qq
- sudo apt-get install dpkg -y
- sudo apt-get install -y python-rosdep
# command to install dependencies
install:
- pip install -r requirements.txt
# command to run tests
script:
- sudo rosdep init
- rosdep update
- python -m 'nose' --exclude test_pull --exclude test_run --exclude test_logger_output
- python -m 'flake8' superflore --import-order-style=google