-
Notifications
You must be signed in to change notification settings - Fork 137
/
.travis.yml
42 lines (34 loc) · 992 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
38
39
40
41
42
language: c
env:
global:
- VERBOSE: 1
os: linux
dist: xenial
jobs:
include:
- os: linux
env: USE_ASAN=ON CONFIG=Release USE_SINGLE_PRECISION=On RELEASE_FILE_SUFFIX=".f"
- os: linux
env: USE_ASAN=ON CONFIG=Debug USE_SINGLE_PRECISION=Off
- os: linux
env: USE_ASAN=OFF CONFIG=Release USE_SINGLE_PRECISION=Off
- os: windows
env: CONFIG=Release CMAKE_GENERATOR_PLATFORM=x64 CMAKE_GENERATOR="Visual Studio 15 2017" VERBOSE=1 USE_SINGLE_PRECISION=Off
install:
- ./useful_files/travis/$TRAVIS_OS_NAME.install.sh
script:
- ./useful_files/travis/$TRAVIS_OS_NAME.sh
before_deploy:
- ./useful_files/travis/$TRAVIS_OS_NAME.before_deploy.sh
deploy:
- provider: releases
api_key: $GITHUB_TOKEN
file_glob: true
file:
- libsurvive-$TRAVIS_TAG-$TRAVIS_OS_NAME-$CONFIG$RELEASE_FILE_SUFFIX.zip
- dist/*.whl
skip_cleanup: true
on:
branch: master
condition: $CONFIG=Release
tags: true