Dmitry V. Levin
f6c70f9f19
* .travis.yml (matric): Add musl-gcc/x86. * travis-build.sh [TARGET == x86]: Specify --target along with --build to configure. * travis-install.sh [CC == musl-gcc && TARGET == x32]: Add -mx32 to $CC. [CC == musl-gcc && TARGET == x86]: Add -m32 to $CC. Specify --build and --target to musl configure invocation.
45 lines
671 B
YAML
45 lines
671 B
YAML
language: c
|
|
|
|
dist: trusty
|
|
|
|
before_install: ./travis-install.sh
|
|
|
|
script: ./travis-build.sh
|
|
|
|
after_success: ./travis-success.sh
|
|
|
|
sudo: required
|
|
|
|
git:
|
|
depth: 2147483647
|
|
|
|
env:
|
|
global:
|
|
- SLEEP_A_BIT="sleep 0.2"
|
|
- VERBOSE="1"
|
|
|
|
matrix:
|
|
include:
|
|
- compiler: gcc
|
|
env:
|
|
- TARGET=x86_64
|
|
- COVERAGE=true
|
|
- compiler: gcc
|
|
env:
|
|
- TARGET=x32
|
|
- compiler: gcc
|
|
env:
|
|
- TARGET=x86
|
|
- compiler: clang-3.6
|
|
env:
|
|
- TARGET=x86_64
|
|
- compiler: musl-gcc
|
|
env:
|
|
- TARGET=x86_64
|
|
- compiler: clang-3.6
|
|
env:
|
|
- TARGET=x86
|
|
- compiler: musl-gcc
|
|
env:
|
|
- TARGET=x86
|