lnvis

nanovg lightning network visualizer
git clone git://jb55.com/lnvis
Log | Files | Refs | README | LICENSE

.travis-setup.sh (444B)


      1 #!/usr/bin/env bash
      2 
      3 if [[ "$TRAVIS_OS_NAME" == "osx" ]]
      4 then 
      5 	brew update
      6 	brew install glfw3 
      7 else
      8 	# Install GLFW $GLFW_VERSION
      9 	wget -O glfw.zip "https://github.com/glfw/glfw/releases/download/$GLFW_VERSION/glfw-$GLFW_VERSION.zip"
     10 	unzip glfw.zip
     11 	cd glfw-"$GLFW_VERSION"
     12 	cmake -DBUILD_SHARED_LIBS=ON -DGLFW_BUILD_EXAMPLES=OFF -DGLFW_BUILD_TESTS=OFF -DGLFW_BUILD_DOCS=OFF -DCMAKE_INSTALL_PREFIX="$HOME"
     13 	make
     14 	sudo make install
     15 	cd ..
     16 fi