-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (40 loc) · 925 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
dist: trusty # используем Ubuntu 14.04 Trusty Tahr (а не 12.02 Precise Pangolin)
sudo: required
language: cpp
os:
- linux
compiler:
- gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-6
- g++-6
- libcpprest-dev
script:
- sudo unlink /usr/bin/gcc && sudo ln -s /usr/bin/gcc-6 /usr/bin/gcc
- sudo unlink /usr/bin/g++ && sudo ln -s /usr/bin/g++-6 /usr/bin/g++
- gcc --version
- cd third_party/lua
- mkdir build
- cd build
- cmake ..
- make
- cd ../../..
- mkdir build
- cd build
- cmake ..
- make
- ctest --output-on-failure
deploy:
# выкладываем tagged-коммиты на GitHub Releases:
provider: releases
file: EBP
skip_cleanup: true
overwrite: true
api_key:
secure: <encrypted-github-token>
on:
tags: true