forked from lavavu/LavaVu
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
59 lines (57 loc) · 1.88 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
language: python
dist: xenial
sudo: false
notifications:
slack: cavedev:0TKfIim9KQnrmiKExKFnKT9L
services:
- xvfb
matrix:
include:
- python: "2.7"
os: linux
compiler: gcc
install: pip install numpy
- python: "3.7"
os: linux
compiler: gcc
install: pip install numpy
- os: osx
language: cpp
compiler: clang
install: pip2 install numpy
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libgl1-mesa-dri
- libgl1-mesa-glx
- libgl1-mesa-dev
script:
- python setup.py install
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
git clone --depth 1 https://github.com/lavavu/Testing;
cd Testing;
export GALLIUM_DRIVER="llvmpipe";
export LV_ECHO_FAIL=1;
export LV_ARGS="-v";
python runall.py || travis_terminate 1;
cd ..;
fi
after_script:
- pwd
- ls -la ./build
#Deploy to PyPi on tags (releases)
#This is used for the MacOS builds only
#Linux - using manylinux in the wheels branch
#Windows - using appveyor
deploy:
provider: pypi
user: OwKal
password:
secure: GV42b9YQoZwYpjiU3APq65gqSOb4rnTW7SFmBTWlJDMr20eskhQixbG7MIwrQ2ibI71v8inMBq7x7FjbbBpIX1FBgu7ItqHuE5+IxCq6v1IdrlNhUlQ5uJP6JHcqeIqgXtlYfe4zLx4m6acW95zi2ueRl+2ZMfV2jYarnWO6v3xyUmMFG7Tibcars7/mQP5M2Q2PkLhXKdoE/VE4jYF1Iby+hdArjZF+7429lJEXBCOgIFlDMMAdcQy9MxJVznZOvr9oEGPmSFA+XopwR7YtupPgmmmBYj4BRxg59XQL18XBpIa43JoApPymBdw6n4PHlpd/4oi9nJsH78RZe62ywm4tGShvzcYwpAuglY6jIuQ0675DktgJNKfu+c5kmxjP6SWVdu0bMFRGueYqNcysSf/CcB5/QfIaLNaBmGCQuYAQL6gsS7eATeyw3fh1vHbHwdZSnxpQ7mby0V4J64gP+AWLN9DKsy69UrSeFERg8vQPgCWA8odwUhmiTR8UtJo2vawQR5z6nxWkVlBcAbwEiA8k2nPUggHTg38CHOf7I1L0tlxcYuJuTI6A4HW3NCwotVMUjzUnGZnOJV4d7w+FjSUkcQ2YYHF6EyI+Jm6iDn65gr0L6osAvdde6a5U+acmfYQb0xlu5TW6J1uTRQM85V3GjHqs/FAaA9CT9m8uEok=
on:
tags: true
condition: os == osx
skip_existing: true
distributions: "bdist_wheel" # Your distributions here