-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
37 lines (28 loc) · 791 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
28
29
30
31
32
33
34
35
36
37
language: python
os: linux
git:
depth: 1
osx_image: xcode10
dist: bionic
jobs:
include:
# Linux
- env: TARGET=x86_64-unknown-linux-gnu
os: linux
before_script:
# Install required Python versions
- sudo add-apt-repository ppa:deadsnakes/ppa -y
- sudo apt-get install python3.{6..9} python3.{6..9}-dev -y;
# Clone Austin development branch
- git clone --branch devel --depth 1 https://github.com/P403n1x87/austin.git ../austin
# Compile Austin and grant CAP_SYS_PTRACE capability
- cd ../austin
- gcc -Wall -O3 -Os -s -pthread src/*.c -o src/austin
- sudo setcap cap_sys_ptrace+ep src/austin
- cd -
- pip install nox==2020.5.24
- pip install poetry==1.0.5
script:
- export PATH="`realpath ../austin/src`:$PATH"
- nox
- nox -rs coverage