forked from luvit/luvi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
51 lines (44 loc) · 912 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
43
44
45
46
47
48
49
50
51
language: c
addons:
apt:
sources:
- kalakris-cmake
packages:
- cmake
sudo: false
env:
- BUILD_TYPE=tiny
- BUILD_TYPE=regular-asm
os:
- linux
# - osx
before_install:
- git submodule update --init --recursive
- git submodule update --recursive
script:
- WITHOUT_AMALG=1 make ${BUILD_TYPE}
- make test
jobs:
include:
- stage: deploy
if: tag IS present
os: linux
env: []
script:
# fetch tags so that git describe works
- git fetch --unshallow
- make linux-build
services:
- docker
deploy:
provider: releases
api_key: $GITHUB_OAUTH_TOKEN
file:
- "luvi-regular-Linux_x86_64"
- "luvi-tiny-Linux_x86_64"
- "luvi-regular-Linux_i686"
- "luvi-tiny-Linux_i686"
overwrite: true
skip_cleanup: true
on:
tags: true