forked from catkin/catkin_tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
51 lines (51 loc) · 1.5 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
# Travis auto-virtualenv isn't supported on OS X
language: generic
matrix:
include:
- dist: xenial
language: python
python: "3.5"
os: linux
env: PYTHON=/usr/bin/python3.5 CATKIN_VERSION=indigo-devel
- dist: bionic
language: python
python: "3.6"
os: linux
env: PYTHON=/usr/bin/python3.6 CATKIN_VERSION=indigo-devel
- dist: bionic
language: python
python: "3.7"
os: linux
env: PYTHON=/usr/bin/python3.7 CATKIN_VERSION=indigo-devel
- dist: bionic
language: python
python: "3.8"
os: linux
env: PYTHON=/usr/bin/python3.8 CATKIN_VERSION=indigo-devel
before_install:
# Install catkin_tools dependencies
- source .travis.before_install.bash
- pip install setuptools argparse catkin-pkg PyYAML psutil osrf_pycommon pyenchant sphinxcontrib-spelling
install:
# Install catkin_tools
- python setup.py develop
before_script:
# Install catkin_tools test harness dependencies
- ./.travis.before_script.bash
- pip install empy sphinx_rtd_theme nose coverage flake8 mock --upgrade
- git clone https://github.com/ros/catkin.git /tmp/catkin_source -b $CATKIN_VERSION --depth 1
- mkdir /tmp/catkin_source/build
- pushd /tmp/catkin_source/build
- cmake .. && make
- source devel/setup.bash
- popd
script:
# Run catkin_tools test harness
- python setup.py nosetests -s
# Build documentation
- pushd docs
- make html
- sphinx-build -b spelling . build -t use_spelling
- popd
notifications:
email: false