forked from intel/cNVMe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
33 lines (29 loc) · 1.09 KB
/
.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
language: cpp
compiler:
- g++
notifications:
email:
on_success: never
on_failure: always
env:
matrix:
- BITNESS='64' OUTPUT_TYPE='DLL' CONFIG_TYPE='Release'
- BITNESS='64' OUTPUT_TYPE='DLL' CONFIG_TYPE='Debug'
- BITNESS='64' OUTPUT_TYPE='EXE' CONFIG_TYPE='Release'
- BITNESS='64' OUTPUT_TYPE='EXE' CONFIG_TYPE='Debug'
# No 32 bit DLLs since we can't easily get 32-bit Python to test them on Travis
- BITNESS='32' OUTPUT_TYPE='EXE' CONFIG_TYPE='Release'
- BITNESS='32' OUTPUT_TYPE='EXE' CONFIG_TYPE='Debug'
before_install:
- export PATH=$HOME/.local/bin:$PATH
- pip install --user `whoami` pytest
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update --option Acquire::Retries=100 --option Acquire::http::Timeout="60"
- sudo apt-get install -y gcc-5 g++-5 g++-5-multilib libc6-dev-i386
before_script:
- sudo unlink /usr/bin/g++ && sudo ln -s /usr/bin/g++-5 /usr/bin/g++
- cd cNVMe
- env
- python build.py -b $BITNESS -c $CONFIG_TYPE -o $OUTPUT_TYPE
script:
- python -m pytest -v -s "Helper Scripts/test_cnvme.py"