-
Notifications
You must be signed in to change notification settings - Fork 7
/
.travis.yml
41 lines (35 loc) · 858 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
sudo: false
language: C
services:
- docker
cache:
directories:
- $HOME/.cache
env:
global:
- PRODUCT=EV-Tarantool16
- ARCH=x86_64
matrix:
- OS=el DIST=7 VAR_TARANTOOL=1.6
- OS=el DIST=7 VAR_TARANTOOL=1.7
- OS=el DIST=7 VAR_TARANTOOL=1.9
script:
- git describe --long
- git clone -b prebuild_fixes https://github.com/igorcoding/packpack.git packpack
- packpack/packpack
before_deploy:
- ls -l build/
deploy:
# Deploy packages to PackageCloud
- provider: packagecloud
username: igorcoding
repository: "tarantoolcontrib"
token: ${PACKAGECLOUD_TOKEN}
dist: ${OS}/${DIST}
package_glob: build/*.{rpm,deb,dsc}
skip_cleanup: true
on:
branch: master
condition: -n "${OS}" && -n "${DIST}" && -n "${PACKAGECLOUD_TOKEN}" && "${VAR_TARANTOOL}" = "1.9"
notifications:
email: true