diff options
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..454a8ad4e --- /dev/null +++ b/.travis.yml | |||
@@ -0,0 +1,11 @@ | |||
1 | language: c | ||
2 | dist: trusty | ||
3 | sudo: true | ||
4 | |||
5 | script: | ||
6 | - sudo apt-get -y install expect | ||
7 | - ( cd firejail ; ./configure --prefix=/usr && make && sudo make install && make test ) | ||
8 | - ( cd firejail ; sudo make install-strip DESTDIR=$(readlink -f appdir) ) | ||
9 | - ( cd appdir/ ; tar cfvj ../firejail-build$TRAVIS_BUILD_NUMBER.tar.bz2 . ) | ||
10 | - curl --upload-file ./firejail-*.tar.bz2 https://transfer.sh/firejail-build$TRAVIS_BUILD_NUMBER.tar.bz2 | ||
11 | - # Could use https://github.com/probonopd/uploadtool to upload to GitHub Releases instead | ||