maint: run `make dist` on Travis, use tarball to do build tests
[midnight-commander.git] / .travis.yml
blob748dd2b6510c7547a2c1dcd3a713782792a73f6d
1 language: c
2 sudo: true
4 env:
5   - CFLAGS=-Wno-error=shadow
7 install:
8   - sudo apt-get update -qq
9   - sudo apt-get install -y autoconf gettext autopoint libtool check indent
10   - sudo apt-get install -y e2fslibs-dev libaspell-dev libglib2.0-dev libgpm-dev libncurses5-dev libslang2-dev libssh2-1-dev libx11-dev unzip
11   - sudo apt-get install -y wget exuberant-ctags python-pygments ruby
13 script:
14   - ./maint/utils/check-indent.sh
15   - ./autogen.sh
16   - ./maint/utils/travis-build.sh
18 after_success:
19   - openssl aes-256-cbc -K $encrypted_036881b9e9dd_key -iv $encrypted_036881b9e9dd_iv -in ./maint/utils/deploy-key.enc -out $HOME/.ssh/deploy-key -d
20   - chmod 600 $HOME/.ssh/deploy-key
21   - echo "Host github.com" >> $HOME/.ssh/config
22   - echo "  IdentityFile ~/.ssh/deploy-key" >> $HOME/.ssh/config
24 deploy:
25   provider: script
26   script: ./maint/utils/travis-deploy.sh
27   on:
28     branch: master