forked from foursquare/fsqio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (40 loc) · 1.59 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
sudo: false
before_cache:
- find . -name "*.py[co]" -print -delete
- rm -fv $HOME/.ivy2/pants/*.{css,properties,xml,xsl}
- rm -rf $HOME/.cache/pants/stats
cache:
directories:
- ".local_artifact_cache/fsqio_pants_pom_pom_resolve_PomResolve"
- ".local_artifact_cache/fsqio_pants_spindle_tasks_build_spindle_BuildSpindle"
- "$HOME/.pom2"
- "$HOME/.cache/pip"
- "$HOME/.ivy2/pants"
language: python
python:
- '2.7'
env:
global:
- PANTS_CONFIG_OVERRIDE="['pants.ini', 'pants-travis-ci.ini']"
addons:
apt:
packages:
- mongodb-org-server
- oracle-java8-set-default
sources:
- mongodb-3.0-precise
services:
- mongodb
script: |
uname -a
./pants buildgen
git diff --exit-code || exit "$?"
echo "Running under PANTS_CONFIG_OVERRIDE: ${PANTS_CONFIG_OVERRIDE}"
./pants compile src::
./pants test test::
notifications:
slack:
rooms:
secure: ZCX+tF3/xdmoFvYbndI+Ck+5DEUWL0OK+IHDDZwRKyG6XGvkV6wnUE+GFMulMGghDQSX9FIQLEtsFNyR+fB24MrY4CY/bTxUDuSUrtDOwNRDYCAP9RnqG5DCYT2XHJh2GjFjUenn0nvfz+WI7zpFLbMuj2ImoQDRW7mX7k2tgCXW4EFZrKwkP7Knu3MqDoZz7j4UbZt2RorvrNHrjUNWl6bhZUO3HkAj1GRXRi4v76ksBMhK1feHmbT2dGXSUVsP+uSMpEx7oALQo4yTU/4K2Oji1TUomoU6P3O20nrHWeUccCJTexBksrhObDjT3WS9pCQ/G6BoZpqdGSrtJwAzyLb2Em7V8YNf2uTE8eJ0Uw5+psPBR8DdrxxSSDfODrShPi8+DcWzOK8aWTg7h3IweSiE5ma8OVqucrrY5xMwkzy80OYgJHzEAqDoBoMp5YJiQ3rHAYBZdt0axUNVgIQ626UwuWnLpeZW8TVrHcopyu9MFqDBTaadaY+tMpj92FkgndesfKqmuArrJcLPhb7o5M6juLbjtA8HHrJBFL4fG1p3hki0XHt39Aqxo60+LSOFNua3/KRkr+QcGqzP1HJVQbgslVHQNT9RanCk4O44LCcyaQOzEa2BK1G20xPGRN+2whN+pvNgmqs1XU7FhLh8LJ0hkSmANYrJqP2ICpVVUVg=
on_success: always
on_failure: always