forked from okfde/froide
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
26 lines (26 loc) · 1.05 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
---
language: python
python:
- '2.7'
- '2.6'
services:
- elasticsearch
before_install:
- export PIP_USE_MIRRORS=true
- export PIP_INDEX_URL=https://simple.crate.io/
install:
- pip install terrarium boto
- terrarium key requirements.txt requirements-test.txt
- terrarium --target froideenv --remote-key-format "u/stwe/froideenv/%(arch)s-%(python_vmajor)s.%(python_vminor)s-%(digest)s" install requirements.txt requirements-test.txt || (wget "http://resources.opendatalabs.org.s3.amazonaws.com/u/stwe/froideenv/`terrarium key requirements.txt requirements-test.txt`" ; terrarium --no-upload --s3-bucket "" --target froideenv --storage-dir . install requirements.txt requirements-test.txt)
- source froideenv/bin/activate
- pip install -e .
script:
- make test
branches:
only:
- master
env:
global:
- S3_BUCKET=resources.opendatalabs.org
- S3_ACCESS_KEY=AKIAIR7376XDHJS5KUIQ
- secure: "X3xh20YCd5dGYsRj12+ma4pQa4dIclsoDbHZ23vGRcxQdRAIsCv60aIlmEnA\nOwDVjcLivTs6QI+AXNfbsqCatt3MDG0o3zM4IDEciPJL7z6mADtGKiSNDyQ0\nNSGn9JeNU/oN9ZlFM01hJkHY42Ir4XJQkRhFjk0XBDvyk5vG7+g="