From ddb575b7f720f1b0cde8867ea7b7b2f1d7f73df2 Mon Sep 17 00:00:00 2001 From: Anton Dyudin Date: Tue, 13 Jun 2017 18:32:37 -0700 Subject: [PATCH] add basic .travis.yml --- .travis.yml | 28 ++++++++++++++++++++++++++++ Makefile | 6 +++++- README.md | 2 ++ 3 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000000..deb93cca24 --- /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 ceee181d0d..b38b3ed945 100644 --- a/Makefile +++ b/Makefile @@ -472,6 +472,10 @@ $(BIN)/urbit: $(LIBCOMMONMARK) $(VERE_OFILES) $(LIBUV) $(LIBED25519) $(LIBANACHR @$(CLD) $(CLDOSFLAGS) -o $(BIN)/urbit $(VERE_OFILES) $(LIBUV) $(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: @@ -516,4 +520,4 @@ distclean: clean $(LIBUV_MAKEFILE) $(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 30e02651b5..3193bf884f 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: