commit 127b52ee307803762b5434a4e30c64740835d044
parent f3b7532990b5efc8e1b630bbdac5ea3317a522d4
Author: William Casarin <jb55@jb55.com>
Date: Thu, 16 Aug 2018 20:24:20 -0700
add travis
Diffstat:
2 files changed, 35 insertions(+), 0 deletions(-)
diff --git a/.travis.yml b/.travis.yml
@@ -0,0 +1,33 @@
+language: c
+sudo: required
+dist: trusty
+script: make
+
+env:
+ global:
+ - GLFW_VERSION=3.2.1
+ - DISPLAY=:99.0
+
+before_install:
+ # Install GLFW $GLFW_VERSION
+ - wget -O glfw.zip https://github.com/glfw/glfw/releases/download/$GLFW_VERSION/glfw-$GLFW_VERSION.zip
+ - unzip glfw.zip
+ - cd glfw-$GLFW_VERSION
+ - cmake -DBUILD_SHARED_LIBS=ON -DGLFW_BUILD_EXAMPLES=OFF -DGLFW_BUILD_TESTS=OFF -DGLFW_BUILD_DOCS=OFF -DCMAKE_INSTALL_PREFIX=$HOME
+ - make
+ - sudo make install
+
+addons:
+ apt:
+ packages:
+ - &common_packages [ 'wget', 'unzip' ]
+ - &build_packages [ 'cmake' ]
+ - &mesa_packages [ 'libgl1-mesa-dev' ]
+ - &x11_packages [
+ 'xorg-dev', 'libx11-dev', 'libxcursor-dev',
+ 'libxext-dev', 'libxi-dev', 'libxinerama-dev', 'libxrandr-dev',
+ 'libxss-dev', 'libxt-dev', 'libxv-dev', 'libxxf86vm-dev']
+
+compiler:
+- clang
+- gcc
diff --git a/README.md b/README.md
@@ -1,6 +1,8 @@
# LNvis
+[![Build Status](https://travis-ci.org/jb55/lnvis.svg)](https://travis-ci.org/jb55/lnvis)
+
A Lightning Network Visualizer