This repository has been archived by the owner on Sep 9, 2019. It is now read-only.
forked from TeX-Live/luatex-svn-git
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
64 lines (55 loc) · 2.04 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
language: c++
cache: ccache
git:
depth: 10
env:
global:
- JOBS_IF_PARALLEL=2
- PACKAGE=harftex-bin
- CFLAGS="-Os"
- CXXFLAGS="-Os"
matrix:
include:
- os: linux
env: ARCH=x86_64
dist: xenial
- os: osx
env:
- ARCH=x86_64
- CFLAGS="-Oz"
- CXXFLAGS="-Oz"
install:
- export PATH="/usr/local/opt/ccache/libexec:$PATH"
- os: linux
env: ARCH=i386
services: docker
script: |
docker run \
-e JOBS_IF_PARALLEL="${JOBS_IF_PARALLEL}" \
-v ${TRAVIS_BUILD_DIR}:/luatex -w /luatex \
-it i386/debian:jessie sh -c \
"apt-get update; apt-get install -y --no-install-recommends bash gcc g++ make; ./build.sh --parallel"
addons:
homebrew:
packages:
- ccache
# Avoid timestamping issues
before_script:
- find . -name \*.info -exec touch '{}' \;
- touch ./source/texk/web2c/web2c/web2c-lexer.c
- touch ./source/texk/web2c/web2c/web2c-parser.c
- touch ./source/texk/web2c/web2c/web2c-parser.h
script:
- ./build.sh --parallel
before_deploy:
- tar czvf ${PACKAGE}-${ARCH}-${TRAVIS_OS_NAME}-${TRAVIS_TAG}.tar.gz -C build/texk/web2c harftex
deploy:
provider: releases
api_key:
secure: Bbr/7B8wjDyVrzFq4dBUJbfKawfctNGNkB7OZcKtCFLETnnHZi9nk8fYDlqmQQP30lZOLFWAkgnAbd8ZK81Bgr65Wq5ziHRvYG2hc4BsDk+2yArntkG+q+h2b4KiVgYeu9ThLYCVUHtT4zgD4BEEf9V0gmMK5UiWushdXPRnCkz1EgFlYD52b+u/qN5BBIWuWTTKoHdR3aJMc7H1s1lXz3UI63ZiUeH8BkxOOZI1llg0nh3o+Rnzpp7E+fO0TsdXFWKwKJLHhetShBF+V8LiA+BmR2GIfEbVg8H/471Hey4pWDosOq1+EUGmFfqewZnOoOriou7f16Rc/vRqU1TVoPbZzOgi4LWjgweCoGZqEbe3y6RxIevFSf3UcCQD6qFnvQQEicXvxlLa7zUm9SHHthbeL+4jwK4t0cDPCC4xbwYJYXbQEPtYKyUwG71jpx9YCatesOwgqqztnmpIYeUDesobC1xtwZCqbAAL8P4jC4UtM0RZ92XsRPpgBVTaHBq2aMF6R//E8pxQ9pHp+HAaFaQ2EcMLxX/hVk5eeY7IRObmJcwK+qDqTi83WyyKn6SwyPemwse89b5TG4AXIYDDHQq8L+WqA9vozW82cwpN/HO9BdERP/f2L620MiRLE4DEoKNnnVnDdUpu7P+MKxujJtG6uf0yt3WLKhlMjUomWHU=
file: ${PACKAGE}-${ARCH}-${TRAVIS_OS_NAME}-${TRAVIS_TAG}.tar.gz
skip_cleanup: true
on:
tags: true
repo: khaledhosny/harftex
branch: master