add basic .travis.yml

This commit is contained in:
Anton Dyudin 2017-06-13 18:32:37 -07:00 committed by Raymond Pasco
parent 2b83791255
commit bf71914ce7
3 changed files with 35 additions and 1 deletions

28
.travis.yml Normal file
View File

@ -0,0 +1,28 @@
language: c
script: make && make test # no ./configure
# Uncomment me if this gets annoying
#
# notifications:
# email: false
addons:
apt:
packages:
- libgmp3-dev
- libsigsegv-dev
- openssl
- libssl-dev
- libncurses5-dev
- make
- exuberant-ctags
- automake
- autoconf
- libtool
- g++
- ragel
- cmake
- re2c
- libcurl4-gnutls-dev
- python

View File

@ -436,6 +436,10 @@ $(BIN)/urbit: $(LIBCOMMONMARK) $(VERE_OFILES) $(LIBED25519) $(LIBANACHRONISM) $(
@$(CLD) $(CLDOSFLAGS) -o $(BIN)/urbit $(VERE_OFILES) $(LIBED25519) $(LIBANACHRONISM) $(LIBS) $(LIBCOMMONMARK) $(LIBSCRYPT) $(LIBSOFTFLOAT) @$(CLD) $(CLDOSFLAGS) -o $(BIN)/urbit $(VERE_OFILES) $(LIBED25519) $(LIBANACHRONISM) $(LIBS) $(LIBCOMMONMARK) $(LIBSCRYPT) $(LIBSOFTFLOAT)
endif endif
# This should start a comet or something
test:
@echo "FIXME no tests defined"
tags: ctags etags gtags cscope tags: ctags etags gtags cscope
ctags: ctags:
@ -479,4 +483,4 @@ distclean: clean
$(MAKE) -C outside/scrypt clean $(MAKE) -C outside/scrypt clean
$(MAKE) -C outside/softfloat-3/build/Linux-386-GCC clean $(MAKE) -C outside/softfloat-3/build/Linux-386-GCC clean
.PHONY: clean debbuild debinstalldistclean etags osxpackage tags .PHONY: clean debbuild debinstalldistclean etags osxpackage tags test

View File

@ -9,6 +9,8 @@ If you're doing development on Urbit, keep reading.
# Build instructions # Build instructions
[![Build Status](https://travis-ci.org/urbit/urbit.svg?branch=maint-0.4)](https://travis-ci.org/urbit/urbit)
## External dependencies ## External dependencies
`vere`, the Urbit virtual machine, depends on the following: `vere`, the Urbit virtual machine, depends on the following: