aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
blob: f1590aaa27e6e81428cd0e772aba875584f5db37 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
language: c
dist: trusty
sudo: true

script:
  - sudo apt-get -y install expect csh xzdec lintian fakeroot
  - ( ./configure --enable-fatal-warnings --prefix=/usr && make && sudo make install && make test-travis )
  - ( sudo make install-strip DESTDIR=$(readlink -f appdir) )
#  # If successful, build release tarball
#  - ( cd appdir/ ; tar cfvj ../firejail-build$TRAVIS_BUILD_NUMBER.tar.bz2 . )
#  - curl --upload-file ./firejail-*.tar.bz2 https://transfer.sh/firejail-build$TRAVIS_BUILD_NUMBER.tar.bz2
#  - # Could use https://github.com/probonopd/uploadtool to upload to GitHub Releases instead