This repository has been archived by the owner on Jan 17, 2018. It is now read-only.
forked from facebook/watchman
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
65 lines (57 loc) · 1.43 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
language: c
# use container infra for linux
sudo: false
addons:
apt:
sources:
- deadsnakes
- ubuntu-toolchain-r-test
packages:
- php5-cli
- python2.7
- python2.7-dev
- python3.5
- python3.5-dev
- gcc-5
# - ruby
# - rubygems
# - valgrind
os:
- osx
- linux
branches:
only:
- master
# for the ruby-watchman gem
#gemfile: ruby/ruby-watchman/Gemfile
#rvm:
# - "2.0.0"
# try some different compiler options
env:
- TRAVIS_PYTHON=python2.6
- TRAVIS_PYTHON=python2.7
- TRAVIS_PYTHON=python3.5
# TODO: On Linux we currently use system versions of Python. That makes it
# somewhat annoying to get third-party dependencies in, since sudo isn't
# available. We should figure out how to solve this for real, either with
# virtualenv or with the pyenv mechanism Hypothesis uses:
# http://www.drmaciver.com/2015/10/a-whirlwind-tour-of-the-hypothesis-build/
matrix:
exclude:
- os: linux
env: TRAVIS_PYTHON=python2.6
include:
- os: linux
env: TRAVIS_PYTHON=python2.7 ENABLE_ASAN=1
compiler: gcc-5
- os: linux
env: TRAVIS_PYTHON=python3.5 ENABLE_ASAN=1
compiler: gcc-5
- os: osx
osx_image: xcode7.3
env: TRAVIS_PYTHON=python2.7 ENABLE_ASAN=1 BUILD_JAVA_CLIENT=1
- os: osx
osx_image: xcode7.3
env: TRAVIS_PYTHON=python3.5 ENABLE_ASAN=1 BUILD_JAVA_CLIENT=0
before_script: ./travis/deps.sh
script: ./travis/run.sh