forked from facebook/watchman
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
57 lines (48 loc) · 1.13 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
language: c
# use container infra for linux
sudo: false
addons:
apt:
sources:
- deadsnakes
packages:
- php5-cli
- python2.7
- python2.7-dev
- python3.5
- python3.5-dev
# - ruby
# - rubygems
# - valgrind
os:
- osx
- linux
branches:
only:
- master
# try some different compilers
compiler:
- gcc
# - clang
# 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
# - CONFIGARGS="--enable-stack-protector"
# - CONFIGARGS="" WATCHMAN_VALGRIND=1
# 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
before_script: ./travis/deps.sh
script: ./travis/run.sh