Skip to content

Commit 7cba9bc

Browse files
committed
add travis-ci configuration for multiple build enviroments
1 parent 0d4dccd commit 7cba9bc

File tree

4 files changed

+30
-0
lines changed

4 files changed

+30
-0
lines changed

.travis.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
language: python
2+
python:
3+
- 2.6
4+
- 2.7
5+
env:
6+
- BUILDENV=lucid
7+
- BUILDENV=precise
8+
- BUILDENV=latest
9+
before_install:
10+
- sudo apt-get update -qq
11+
- sudo apt-get install -qf python-libxml2
12+
install:
13+
- pip install --use-mirrors -r .travis/requirements-$BUILDENV.txt
14+
script:
15+
- trial scrapy scrapyd

.travis/requirements-latest.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pyOpenSSL
2+
lxml
3+
twisted
4+
boto
5+
.

.travis/requirements-lucid.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pyOpenSSL==0.10
2+
lxml==2.2.4
3+
twisted==10.0.0
4+
boto==1.9b
5+
.

.travis/requirements-precise.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pyOpenSSL==0.12
2+
lxml==2.3.2
3+
twisted==11.1.0
4+
boto==2.2.2
5+
.

0 commit comments

Comments
 (0)