Skip to content

Commit 3d2f288

Browse files
author
Michael Koval
committed
Another attempt at configuring Python in Travis
1 parent a689220 commit 3d2f288

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

.travis.yml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,24 @@
1-
sudo: required
21
dist: trusty
2+
sudo: required
3+
env:
4+
global:
5+
- REPOSITORY=prpy
6+
# Allow Python to find packages installed by apt.
7+
# See: http://docs.travis-ci.com/user/languages/python/#Travis-CI-Uses-Isolated-virtualenvs
8+
language: python
9+
python:
10+
- '2.7'
311
virtualenv:
412
system_site_packages: true
5-
env:
6-
- REPOSITORY=prpy
7-
install:
13+
# Install test fixture dependencies.
14+
before_install:
815
- git clone https://github.com/personalrobotics/pr-cleanroom.git
916
- cd pr-cleanroom
1017
- curl -O https://raw.githubusercontent.com/personalrobotics/pr-rosinstalls/feature/rosdistro/repositories.yml
1118
- ./internal-setup.sh
19+
# Checkout this repository and all of its dependencies.
20+
install:
1221
- ./internal-distro.py --workspace=src --repository "${REPOSITORY}" distribution/distribution.yml
22+
# Build the workspace and run tests.
1323
script:
1424
- ./internal-build.sh $(./internal-get-packages.py repositories.yml "${REPOSITORY}")

0 commit comments

Comments
 (0)