This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| vagrant@precise32:/vagrant/imgflo-server$ make check TESTS='"Get image"' | |
| mkdir -p /vagrant/imgflo-server/install || true | |
| sed -e 's|@PREFIX@|/vagrant/imgflo-server/install|' runtime/env.sh.in > /vagrant/imgflo-server/install/env.sh | |
| chmod +x /vagrant/imgflo-server/install/env.sh | |
| npm run update-version-info || echo 'WARN: unable to update version' | |
| cd runtime && make PREFIX=/vagrant/imgflo-server/install install | |
| make[1]: Entering directory `/vagrant/imgflo-server/runtime' | |
| mkdir -p /vagrant/imgflo-server/install || true | |
| sed -e 's|@PREFIX@|/vagrant/imgflo-server/install|' env.sh.in > /vagrant/imgflo-server/install/env.sh | |
| chmod +x /vagrant/imgflo-server/install/env.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| vagrant@precise32:/vagrant/imgflo-server$ make check TESTS='"Get image"' | |
| mkdir -p /vagrant/imgflo-server/install || true | |
| sed -e 's|@PREFIX@|/vagrant/imgflo-server/install|' runtime/env.sh.in > /vagrant/imgflo-server/install/env.sh | |
| chmod +x /vagrant/imgflo-server/install/env.sh | |
| npm run update-version-info || echo 'WARN: unable to update version' | |
| cd runtime && make PREFIX=/vagrant/imgflo-server/install install | |
| make[1]: Entering directory `/vagrant/imgflo-server/runtime' | |
| mkdir -p /vagrant/imgflo-server/install || true | |
| sed -e 's|@PREFIX@|/vagrant/imgflo-server/install|' env.sh.in > /vagrant/imgflo-server/install/env.sh | |
| chmod +x /vagrant/imgflo-server/install/env.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| vagrant@precise32:/vagrant/imgflo-server$ make check TESTS='"Get image"' | |
| mkdir -p /vagrant/imgflo-server/install || true | |
| sed -e 's|@PREFIX@|/vagrant/imgflo-server/install|' runtime/env.sh.in > /vagrant/imgflo-server/install/env.sh | |
| chmod +x /vagrant/imgflo-server/install/env.sh | |
| npm run update-version-info || echo 'WARN: unable to update version' | |
| cd runtime && make PREFIX=/vagrant/imgflo-server/install install | |
| make[1]: Entering directory `/vagrant/imgflo-server/runtime' | |
| mkdir -p /vagrant/imgflo-server/install || true | |
| sed -e 's|@PREFIX@|/vagrant/imgflo-server/install|' env.sh.in > /vagrant/imgflo-server/install/env.sh | |
| chmod +x /vagrant/imgflo-server/install/env.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| vagrant@precise32:/vagrant/imgflo-server$ git show | |
| commit 63bdb51383f55be79406c38e582e4406efb8e24e | |
| Author: Jon Nordby <jononor@gmail.com> | |
| Date: Tue Sep 23 22:33:37 2014 -0700 | |
| Run update-version-info.js in postinstall |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ./node_modules/.bin/mocha --reporter spec --compilers .coffee:coffee-script/register ./runtime/spec/*.coffee --grep "Get image" | |
| Warning: Native modules not compiled. XOR performance will be degraded. | |
| Warning: Native modules not compiled. UTF-8 validation disabled. | |
| 0 tests complete (2 ms) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Server | |
| Get version info | |
| ✓ returns valid data (47ms) | |
| 28) gives NPM version | |
| 29) gives server version | |
| 30) gives runtime version | |
| - gives GEGL version | |
| - gives BABL version | |
| List graphs | |
| 31) HTTP request |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ✖ 33 of 86 tests failed: | |
| 1) Graphs delaunay_triangles_foobar100 GET http://localhost:8888/graph/delaunay_triangles?seed=foobar&width=100&height=100 should output a file: | |
| Error: timeout of 8000ms exceeded | |
| at [object Object].<anonymous> (/vagrant/imgflo-server/node_modules/mocha/lib/runnable.js:140:21) | |
| at Timer.listOnTimeout [as ontimeout] (timers.js:112:15) | |
| 2) Graphs delaunay_triangles_foobar100 GET http://localhost:8888/graph/delaunay_triangles?seed=foobar&width=100&height=100 results should be equal to reference: | |
| Error: timeout of 4000ms exceeded |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| vagrant@precise32:/vagrant/imgflo-server$ make runtime-check | |
| ./node_modules/.bin/mocha --reporter spec --compilers .coffee:coffee-script/register ./runtime/spec/*.coffee | |
| Warning: Native modules not compiled. XOR performance will be degraded. | |
| Warning: Native modules not compiled. UTF-8 validation disabled. | |
| Dependencies | |
| for Travis | |
| ✓ should be released (1718ms) | |
| for Heroku |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| vagrant@precise32:/vagrant/imgflo-server$ make runtime-check | |
| ./node_modules/.bin/mocha --reporter spec --compilers .coffee:coffee-script/register ./runtime/spec/*.coffee | |
| Warning: Native modules not compiled. XOR performance will be degraded. | |
| Warning: Native modules not compiled. UTF-8 validation disabled. | |
| Dependencies | |
| for Travis | |
| ✓ should be released (1670ms) | |
| for Heroku |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Lib deps | |
| sudo apt-get update | |
| sudo apt-get install -y git make automake intltool libglib2.0-0 libglib2.0-dev libtool curl libtiff6 libtiff-dev libxml2 libxml2-dev sqlite sqlite3 libsqlite3-dev libjson-glib-1.0-0 libjson-glib-dev uuid uuid-dev | |
| # Install imgflo and its deps | |
| cd /vagrant | |
| git clone https://github.com/jonnor/imgflo-server.git | |
| cd imgflo-server | |
| git submodule update --init -r |