forked from plasma-umass/BLeak
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
44 lines (44 loc) · 1.19 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
sudo: false
addons:
chrome: stable
git:
# Don't download Git LFS files! We don't need them for testing.
lfs_skip_smudge: true
matrix:
# Travis OSX is dog slow; quickly report pass/fail from Ubuntu run
fast_finish: true
include:
- os: osx
osx_image: xcode7.3
# Python environment doesn't work on Travis OSX. :|
language: generic
- dist: trusty
# While we are a NodeJS project, we need to specify Python
# so mitmproxy works!
language: python
# Python >=3.6 required for mitmproxy + my plugin
python: 3.6
cache:
- yarn
- pip
install:
# Workaround for python not working properly in Travis OSX.
# From mitmproxy's travis.yml.
- |
if [[ $TRAVIS_OS_NAME == "osx" ]]
then
brew update || brew update
brew outdated pyenv || brew upgrade pyenv
eval "$(pyenv init -)"
env PYTHON_CONFIGURE_OPTS="--enable-framework" pyenv install --skip-existing 3.6.4
pyenv global 3.6.4
pyenv shell 3.6.4
pip install -U pip setuptools wheel virtualenv
brew install yarn --without-node
fi
- nvm install 8
- nvm use 8
- pip install mitmproxy==4.0.1
- yarn install
script:
- yarn run test:travis