forked from typcn/danmaku2ass_native
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (31 loc) · 802 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
language: cpp
jobs:
include:
- name: Ubuntu 14.04 build
os: linux
dist: trusty
env:
- BINARY_SUFFIX: _linux
- name: macOS build
os: osx
env:
- BINARY_SUFFIX: _macos
- name: Windows (VS2017 x64) build
os: windows
env:
- BINARY_SUFFIX: .exe
script:
- mkdir build
- cd build
- cmake -DCMAKE_BUILD_TYPE=Release ..
- cmake --build . --config Release
- cd ..
after_success:
- mv build/danmaku2ass danmaku2ass${BINARY_SUFFIX}
- mv build/Release/danmaku2ass.exe .
- wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
- bash upload.sh danmaku2ass${BINARY_SUFFIX}
branches:
except:
- # Do not build tags that we create when we upload to GitHub Releases
- /^(?i:continuous.*)$/