-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
27 lines (27 loc) · 818 Bytes
/
Copy path.travis.yml
File metadata and controls
27 lines (27 loc) · 818 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
26
27
os:
- osx
- windows
language: cpp
compiler: g++
before_install:
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then PROGRAM="Trash"; else export PROGRAM="Trash.exe"; fi
script:
- mkdir Debug && cd Debug
- g++ -MM -std=c++11 ../RichmanMA.cpp
- g++ -O0 -g3 -Wall -c -fmessage-length=0 -std=c++11 -MMD -MP -MF"RichmanMA.d" -MT"RichmanMA.o" -o "RichmanMA.o" "../RichmanMA.cpp"
- g++ -o $TRAVIS_OS_NAME ./RichmanMA.o
before_deploy:
- git config --local user.name "Aaron Liu"
- git config --local user.email "aaronliu0130@gmail.com"
- export TRAVIS_TAG=0.1.0.(git log --format=%H -1)-alpha
- git tag $TRAVIS_TAG
deploy:
provider: releases
api_key:
secure: "6827807f0febef3b5d7d80adc632b05b3d0f69e7"
file:
- "Trash"
- "Trash.exe"
skip_cleanup: true
on:
tags: true