forked from hatching/roach
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.travis.yml
More file actions
37 lines (30 loc) · 797 Bytes
/
.travis.yml
File metadata and controls
37 lines (30 loc) · 797 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
language: python
matrix:
fast_finish: true
include:
- python: 2.7
- python: 3.6
- os: osx
osx_image: xcode9.3beta
language: generic
before_install:
- |
if [[ $TRAVIS_OS_NAME == "osx" ]]; then
# 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
fi
install:
- pip install -e .
- pip install '.[dev]'
- pip install pytest pytest-cov codecov coveralls
script:
- py.test --cov=roach
- python -c 'import roach, sys ; assert "capstone" not in sys.modules'
after_success:
- codecov
- coveralls