-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
44 lines (43 loc) · 1.72 KB
/
.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
sudo: false
dist: trusty
language: generic
git:
submodules: true
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.6
packages:
- g++-5
- gcc-5
- libtool
- autoconf
- automake
- pkg-config
- unzip
- chrpath
script:
- env
- mkdir -p ~/local
- wget -O - https://cmake.org/files/v3.6/cmake-3.6.3-Linux-x86_64.tar.gz | tar xzf - -C ~/local
- export CMAKE=~/local/cmake-3.6.3-Linux-x86_64/bin/cmake
- export CMAKE_ROOT=~/local/cmake-3.6.3-Linux-x86_64/share/cmake-3.6
- BUILD_NAME=build-${TRAVIS_OS_NAME} CORES=2 CXX=g++-5 CC=gcc-5 travis_wait 50 ./build.sh
- find build-${TRAVIS_OS_NAME} -name ycm_core.so
- cat ycm.log
before_deploy:
- export TARBALL=${TRAVIS_BUILD_DIR}/nvim-${TRAVIS_OS_NAME}.tgz
- echo "Preparing package ${TARBALL}"
- find build-${TRAVIS_OS_NAME} -name ycm_core.so
- ./make-release.sh ${TRAVIS_OS_NAME}
deploy:
provider: releases
api_key:
secure: "atwWTps0XiYzddvr5MU0uvEaiIDu7m9cEKWQZtjO/yciyAbyNmCPoMrQ8cQFo6/xDwQGaSzcmJ4bnJXmXOXX4o8hB8jQEJ/c1G2/LDuM3UsBUB3K7bLsUzrdyyNwWTAhQnH3DjCYaq/49z+KmK2SBcvG62lsGKuiBwYnYWiebkgzll+RSVUEBAlusXwSrlzI4ZNxwC2RRQOznbHWYreaSK4XKneN1vHdfTgovetYx3nL8iEc8T6nMc1IwMRVYX6g4elav+bPpd5AIPkI8XPA8dn3Jrx83YMzULW1nqWc28jRuS5prNc1XSK5aOVVqtJJ1S+VV4f16d2/JV6YJho+gWrtvsioiNsVTxB1fxgl1MHrp3v+uunPI3nCxxlhhKI+b0C8OzU9pNHoxcaF12tXpkmFJ6bQGtqQuCA4x2RTDaxAIAxNZzEKgQaFs70jsyPH5ie/Q/PXl7HdLCh2wZb2dFqte2d9oAVDaLwJMPondK+lg/X/oPTjnb0eHw/Op8Nb3ltcRTOePbgdDRmuGq4R80O4peZtpuXUkkQQmZRTxaCWnG3oF2La55tSrCytjIy7p/cX2MqGKewLLSyyU6RAukkjag3Z3V+fT4WDkZusC4r6y3GxPtsbjjYGUPjsqL+exL1oSGIG9aY3bSGjYzzIub8O8G4I9UiIATLGYJTaYkk="
file: ${TARBALL}
skip_cleanup: true
on:
repo: hotgloupi/nvim
tags: true
all_branches: true