2015-10-18 13:51:56 +03:00
|
|
|
language: c
|
|
|
|
sudo: true
|
|
|
|
|
2015-10-18 15:31:58 +03:00
|
|
|
env:
|
|
|
|
- CFLAGS=-Wno-error=shadow
|
|
|
|
|
2015-10-18 13:51:56 +03:00
|
|
|
install:
|
|
|
|
- sudo apt-get update -qq
|
2015-10-18 19:05:13 +03:00
|
|
|
- sudo apt-get install -y autoconf gettext autopoint libtool check indent
|
2015-10-18 13:51:56 +03:00
|
|
|
- sudo apt-get install -y e2fslibs-dev libaspell-dev libglib2.0-dev libgpm-dev libncurses5-dev libslang2-dev libssh2-1-dev libx11-dev unzip
|
|
|
|
|
|
|
|
script:
|
|
|
|
- ./maint/utils/check-indent.sh
|
|
|
|
- ./autogen.sh
|
|
|
|
- ./maint/utils/travis-build.sh
|
2016-02-18 23:33:06 +03:00
|
|
|
|
|
|
|
after_success:
|
|
|
|
- openssl aes-256-cbc -K $encrypted_036881b9e9dd_key -iv $encrypted_036881b9e9dd_iv -in ./maint/utils/deploy-key.enc -out $HOME/.ssh/deploy-key -d
|
|
|
|
- chmod 600 $HOME/.ssh/deploy-key
|
|
|
|
- echo "Host github.com" >> $HOME/.ssh/config
|
|
|
|
- echo " IdentityFile ~/.ssh/deploy-key" >> $HOME/.ssh/config
|
|
|
|
|
|
|
|
deploy:
|
|
|
|
provider: script
|
|
|
|
script: ./maint/utils/travis-deploy.sh
|
|
|
|
on:
|
|
|
|
branch: master
|