-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
27 lines (25 loc) · 854 Bytes
/
.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
sudo: true
language: c++
compiler:
- gcc
before_script:
# C++17
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
- sudo apt-get install -qq g++-7
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-7 90
- sudo apt-get install -y pkg-config python libboost-python-dev python-pip
- sudo wget https://github.com/downloads/0vercl0k/rp/rp-lin-x64 -O /usr/local/bin/rp++
- sudo pip2 install pwntools unicorn
script:
- cd /tmp/
- sudo git clone https://github.com/kriw/radare2
- cd /tmp/radare2
- sudo sys/install.sh > /dev/null
- cd /tmp/
- git clone https://github.com/kriw/ropchain
- cd /tmp/ropchain
- sudo python2 setup.py install
- cd /tmp/ropchain/ropchain
- travis_wait 30 python2 test.py -v
- sudo rm -rf /tmp/ropchain