Update .travis.yml

pull/15/head^2
tobozo 2019-01-30 11:52:48 +01:00 committed by GitHub
parent 0a50d22cf9
commit 29a041071c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -3,11 +3,13 @@ notifications:
dist: trusty
os:
- linux
before_install:
- sudo apt-get install -y pnmtopng jp2a imagemagick
script: >
mkdir --parents build &&
cd build &&
cmake .. &&
make &&
./tinyraytracer &&
pnmtopng out.ppm > out.png &&
open out.png
convert out.ppm out.jpg &&
jp2a --width=76 out.jpg