-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.travis.yml
More file actions
32 lines (32 loc) · 781 Bytes
/
.travis.yml
File metadata and controls
32 lines (32 loc) · 781 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
language: python
notifications:
email: false
compiler:
- clang
- gcc
python:
- 3.7
install:
- sudo pip install pytest
- sudo apt-get update
- sudo apt-get install -y gcc-multilib
- sudo apt-get install -y zlib1g-dev
- sudo apt-get install -y zlib1g-dev:i386
- sudo apt-get install -y gcc
- sudo apt-get install -y valgrind
before_install:
- pip install -r tests/requirements.txt
- git clone https://github.com/jmcnamara/libxlsxwriter.git
- cd libxlsxwriter
- make
- sudo make install
- cd ../
- rm libxlsxwriter/ -rf
script:
- CFLAGS="-coverage" python setup.py build_ext --inplace
- python setup.py install
- make test
- find build
- gcov *.c -o build/temp.linux-x86_64-3.7/
after_success:
- bash <(curl -s https://codecov.io/bash)