diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..deb93cca2 --- /dev/null +++ b/.travis.yml @@ -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 + diff --git a/Makefile b/Makefile index ba9100c51..9dabd6d02 100644 --- a/Makefile +++ b/Makefile @@ -436,6 +436,10 @@ $(BIN)/urbit: $(LIBCOMMONMARK) $(VERE_OFILES) $(LIBED25519) $(LIBANACHRONISM) $( @$(CLD) $(CLDOSFLAGS) -o $(BIN)/urbit $(VERE_OFILES) $(LIBED25519) $(LIBANACHRONISM) $(LIBS) $(LIBCOMMONMARK) $(LIBSCRYPT) $(LIBSOFTFLOAT) endif +# This should start a comet or something +test: + @echo "FIXME no tests defined" + tags: ctags etags gtags cscope ctags: @@ -479,4 +483,4 @@ distclean: clean $(MAKE) -C outside/scrypt 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 diff --git a/README.md b/README.md index 709c94f4d..4102f4afe 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,8 @@ If you're doing development on Urbit, keep reading. # Build instructions +[![Build Status](https://travis-ci.org/urbit/urbit.svg?branch=maint-0.4)](https://travis-ci.org/urbit/urbit) + ## External dependencies `vere`, the Urbit virtual machine, depends on the following: