forked from bloomberg/phabricator-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
34 lines (29 loc) · 1.01 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
sudo: false
language: python
python:
- "2.7"
addons:
apt:
packages:
- time
install:
# Install dependencies using pip
- pip install autopep8
- pip install docformatter
- pip install flake8
- pip install nose
# TODO: Change this to 'pip install pycheker' once pycheker starts working
# with pip. pip install of pycheker is broken at the moment.
- pip install http://sourceforge.net/projects/pychecker/files/pychecker/0.8.19/pychecker-0.8.19.tar.gz/download
- pip install pylint
- pip install snakefood
before_script:
# This is necessary because Travis shallow clones the repo and we require the
# entire log to run meta/autofix/fixlegal.py, we also require origin/master.
- git fetch --unshallow
- git config --global user.email [email protected]
- git config --global user.name Travis CI
- git fetch origin master:refs/remotes/origin/master
script:
# Run code checks and tests while exclding those which require phabricator.
- ./precommit.sh -e integration_tests -e smoke_tests