urbit/.travis.yml

58 lines
1.1 KiB
YAML
Raw Normal View History

dist: xenial
language: node_js
node_js:
- 4
2017-06-14 04:32:37 +03:00
# Uncomment me if this gets annoying
#
# notifications:
# email: false
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/
install:
# pwd: ~/urbit
- pip3 install --user -I meson==0.44.1
2017-06-14 04:32:37 +03:00
script:
- meson . ./build --buildtype=debugoptimized -Dgc=true -Dprof=true
- cd ./build
- ninja
2018-11-13 21:44:21 +03:00
- ninja test
- sudo ninja install
- cd ../.travis
- npm install
- ulimit -c unlimited -S
- npm run -s test; bash print-core-backtrace.sh $?
2017-06-14 04:32:37 +03:00
addons:
apt:
packages:
- python3
- python3-pip
- python3-setuptools
- python3-wheel
2017-06-14 04:32:37 +03:00
- libgmp3-dev
- libsigsegv-dev
- openssl
- libssl-dev
- libncurses5-dev
2019-01-03 05:12:23 +03:00
- gcc
2017-06-14 04:32:37 +03:00
- libcurl4-gnutls-dev
- unzip
2018-11-06 08:16:26 +03:00
- gdb
# before_deploy: "make deb" # TODO
# deploy:
# skip_cleanup: true
# provider: releases
# prerelease: true # turn this off for official releases
# api_key:
# secure: XX
# file: ./build/urbit # TODO upload package from before_deploy
# on:
# repo: urbit/urbit
# tags: true