Enable caching on Travis (#59)

pull/63/head
Zach Riggle 10 years ago committed by GitHub
parent 332f7a45dc
commit 0c9200d614

@ -1,6 +1,13 @@
sudo: required
dist: trusty
language: python
cache:
- pip
- directories:
- /home/travis/virtualenv/python2.7.9/lib/python2.7/site-packages/
- /home/travis/virtualenv/python2.7.9/bin/
- capstone
- unicorn
install:
- sudo apt-get -y install gdb
- lsb_release -a

@ -1,4 +1,5 @@
#!/bin/bash -ex
#!/bin/bash
set -ex
if uname | grep -i Linux &>/dev/null; then
sudo apt-get update
@ -26,7 +27,6 @@ export UNICORN_QEMU_FLAGS="--python=$(which python2)"
# Install both Unicorn and Capstone
for directory in capstone unicorn; do
pushd $directory
git clean -xdf
sudo ./make.sh install
cd bindings/python
sudo ${PYTHON} -m pip install --target ${SITE_PACKAGES} .

Loading…
Cancel
Save