-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy path.travis.yml
More file actions
38 lines (32 loc) · 877 Bytes
/
.travis.yml
File metadata and controls
38 lines (32 loc) · 877 Bytes
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
language: python
matrix:
fast_finish: true
include:
- python: 2.7
- os: osx
osx_image: xcode9.3beta
language: generic
before_install:
- |
if [[ $TRAVIS_OS_NAME == "osx" ]]; then
brew update || brew update
# The following wasn't required in the past and therefore may become
# obsolete once again in the future. Let's wait and see.
wget https://bootstrap.pypa.io/get-pip.py
sudo python get-pip.py
sudo pip install virtualenv
virtualenv $HOME
source $HOME/bin/activate
else
sudo apt-get update -qq
fi
install:
- pip install -U pip setuptools
- python setup.py develop
- pip install mock pytest pytest-cov codecov coveralls
script:
- py.test --cov=egghatch
- python -c 'import egghatch, sys ; assert "capstone" not in sys.modules'
after_success:
- coveralls
- codecov