mirror of
https://github.com/jarun/nnn.git
synced 2024-12-01 02:49:44 +00:00
48 lines
1.5 KiB
YAML
48 lines
1.5 KiB
YAML
language: c
|
|
sudo: required
|
|
services:
|
|
- docker
|
|
matrix:
|
|
include:
|
|
# Access more recent gcc and clang via a Trusty image
|
|
- os: linux
|
|
dist: trusty
|
|
compiler: gcc
|
|
- os: linux
|
|
dist: trusty
|
|
compiler: clang
|
|
- os: osx
|
|
compiler: gcc
|
|
- os: osx
|
|
compiler: clang
|
|
|
|
script:
|
|
export CFLAGS=-Werror;
|
|
make clean;
|
|
make;
|
|
make clean;
|
|
make -f scripts/make_native/Makefile.native;
|
|
make clean;
|
|
|
|
before_deploy:
|
|
- unset CFLAGS
|
|
- sudo apt-get update -qy
|
|
- sudo apt-get install -qy python3 python3-pip
|
|
- sudo python3 -m pip install packagecore
|
|
- packagecore -o dist/ "${TRAVIS_TAG#v}"
|
|
|
|
deploy:
|
|
provider: releases
|
|
api-key:
|
|
secure: bdw73zBeBEZtDZGEyFpAksnpwLHTBaC7VP1pONmnsXv4qmMcynASz0LfE4krEdAsRnvxQvqPZXviy/SZ3bmaLpVQmJIC1uRWIyOBE6K/7ddf+wfLy+1uO9EPd/zDF/D28Xy8QJLDGDZI08BY5Fist4XowyvtdW3GRwwDL7TwyZyigr0fkqLJwYcqCpojsHsjXjhkpGZqB5XRztaJ4kIEVz8du03ZU1l5kA9lI8Pdk9+mntOOt6emlaJl+Wr81QkwA8TvGPlZ1VP/+h9YCtlRy/4OuiU+bg5/Atxjh8M6rsq+WpZ3ZdYbR6x5vP78p9f6TsJa4ymGhhW6MhYrKPwdT4oITzZcOXJl6AEoIvrWHQWLY7K3WaEfRbT+DODnXks0ToFKls7wyWfi/AHI0ejeDD5Na5/XhY0jdVYOVvovoY2n8LBaqRTFJDYKoCbJ1S+6myUvvmFVwiZWcgOv9gVX1aaIl4wh+XuzUtPDJTcJtUOE8Q2MWl0bdYVtEkHVRznPXN5u3odrDaeTD3vo+pEaEpshLoSKhCyyWvslSzN7T98ez3aw3KFXoFhXPEg5MEJWy7u359MaVwJIsOGUDAFhy/Y7h83LjQYnu8cmX2wuVrQIRIlGVB0f10GYZzPffZz98I/T0xv75NzpyRs31/wMxvdXz35c8m/yTup4kAkG/1s=
|
|
file_glob: true
|
|
file:
|
|
- dist/*
|
|
skip_cleanup: true
|
|
on:
|
|
condition:
|
|
- "$TRAVIS_OS_NAME == linux"
|
|
- "$CC == gcc"
|
|
tags: true
|
|
repo: jarun/nnn
|