-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.travis.yml
More file actions
25 lines (25 loc) · 601 Bytes
/
.travis.yml
File metadata and controls
25 lines (25 loc) · 601 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
language: cpp
sudo: reguired
os:
- windows
compiler:
- gcc
script:
- dir
- cd cbp2ndk/dist
- mkdir -p test
- cd test
- cmake -G"MinGW Makefiles" .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_IGNORE_PATH="C:/Program Files/Git/usr/bin"
- cmake --build . --config "Debug"
- dir
before_deploy:
- tar -zcf ${TRAVIS_BUILD_DIR}${REPO}-cbp2ndk-${TRAVIS_BUILD_NUMBER}.tar.gz cbp2ndk.exe
deploy:
provider: releases
skip_cleanup: true
api_key: $GH_TOKEN
file_glob: true
file: ${TRAVIS_BUILD_DIR}${REPO}-cbp2ndk-${TRAVIS_BUILD_NUMBER}.tar.gz
on:
all_branches: true
tags: false