(panel_operate_init_totals): change the 'source' argument type...
[midnight-commander.git] / .travis.yml
blob701d3f471bd5dde88a1f2c2024802917f117afe3
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 before_script:
14   - git fetch --tags
16 script:
17   - ./maint/utils/check-indent.sh
18   - ./autogen.sh
19   - ./maint/utils/travis-build.sh
21 after_success:
22   - openssl aes-256-cbc -K $encrypted_036881b9e9dd_key -iv $encrypted_036881b9e9dd_iv -in ./maint/utils/deploy-key.enc -out $HOME/.ssh/deploy-key -d
23   - chmod 600 $HOME/.ssh/deploy-key
24   - echo "Host github.com" >> $HOME/.ssh/config
25   - echo "  IdentityFile ~/.ssh/deploy-key" >> $HOME/.ssh/config
27 deploy:
28   provider: script
29   script: ./maint/utils/travis-deploy.sh
30   on:
31     branch: master