urbit/.travis.yml

54 lines
1.2 KiB
YAML
Raw Normal View History

2017-06-14 04:32:37 +03:00
language: c
2018-02-25 09:32:41 +03:00
script: meson build && cd ./build && ninja
2017-06-14 04:32:37 +03:00
# Uncomment me if this gets annoying
#
2018-02-25 09:32:41 +03:00
# notifications:
# email: false
2018-02-25 09:48:25 +03:00
2018-02-25 10:27:27 +03:00
before_install:
- wget https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-linux.zip
- unzip ninja-linux.zip
- sudo mv ninja /usr/bin/
2018-02-25 10:47:16 +03:00
- wget https://github.com/libuv/libuv/archive/v1.19.2.tar.gz
- tar -xvf v1.19.2.tar.gz
- cd libuv-1.19.2
- sh autogen.sh
- ./configure --prefix=/usr
- make
- sudo make install
2018-02-25 10:55:40 +03:00
- cd ..
2018-02-25 09:48:25 +03:00
install:
2018-02-25 10:03:52 +03:00
- pip3 install --user meson
2017-06-14 04:32:37 +03:00
addons:
apt:
packages:
- libgmp3-dev
- libsigsegv-dev
- openssl
- libssl-dev
- libncurses5-dev
2018-02-25 10:47:16 +03:00
- automake
- autoconf
- make
- libtool
2017-06-14 04:32:37 +03:00
- g++
- ragel
- re2c
- libcurl4-gnutls-dev
2018-02-25 09:51:22 +03:00
- python3
2018-02-25 10:00:58 +03:00
- python3-pip
2018-02-25 10:27:27 +03:00
- unzip
# before_deploy: "make deb" # TODO
deploy:
skip_cleanup: true
provider: releases
prerelease: true # turn this off for official releases
api_key:
secure: V4E7784ECSS3MO6ZIRtang9XwibDyvDYGb0MoSaP2CTlmzIAhdokr4KJFM0qM4KRaaajCdQuqi0lojgOjwdxs7e0GkAwScb33LFxQ7Chj/QkFOY7V1AnSRLR5OsXnazB0nur5aSwvcvnggQ2XW3OeF7zIvGfs9aR97SEz/xCrVE=
2018-02-25 09:33:10 +03:00
file: ./build/urbit # TODO upload package from before_deploy
on:
repo: urbit/urbit
tags: true