forked from mozilla/mozdownload
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
42 lines (35 loc) · 913 Bytes
/
.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
41
42
sudo: false
cache:
directories:
- $HOME/.cache/pip
language: python
matrix:
include:
- python: 2.7
os: linux
env: TOXENV=py27
- python: 2.7
os: linux
env: TOXENV=pylama
- language: generic
os: osx
# 7.2 is OS X 10.11.x
# https://docs.travis-ci.com/user/languages/objective-c/#Supported-OS-X-iOS-SDK-versions
osx_image: xcode7.2
env: TOXENV=py27
install:
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then
curl -O -s https://bootstrap.pypa.io/get-pip.py;
python get-pip.py --user;
export PATH=$PATH:~/Library/Python/2.7/bin;
pip install --user tox virtualenv;
else
pip install tox virtualenv;
fi
script:
- tox
notifications:
email:
irc:
- "irc.mozilla.org#automation"