.travis.yml 923 B

12345678910111213141516171819202122232425262728293031
  1. language: c
  2. sudo: true
  3. env:
  4. - CFLAGS=-Wno-error=shadow
  5. install:
  6. - sudo apt-get update -qq
  7. - sudo apt-get install -y autoconf gettext autopoint libtool check indent
  8. - sudo apt-get install -y e2fslibs-dev libaspell-dev libglib2.0-dev libgpm-dev libncurses5-dev libslang2-dev libssh2-1-dev libx11-dev unzip
  9. - sudo apt-get install -y wget exuberant-ctags python-pygments ruby
  10. before_script:
  11. - git fetch --tags
  12. script:
  13. - ./maint/utils/check-indent.sh
  14. - ./autogen.sh
  15. - ./maint/utils/travis-build.sh
  16. after_success:
  17. - openssl aes-256-cbc -K $encrypted_036881b9e9dd_key -iv $encrypted_036881b9e9dd_iv -in ./maint/utils/deploy-key.enc -out $HOME/.ssh/deploy-key -d
  18. - chmod 600 $HOME/.ssh/deploy-key
  19. - echo "Host github.com" >> $HOME/.ssh/config
  20. - echo " IdentityFile ~/.ssh/deploy-key" >> $HOME/.ssh/config
  21. deploy:
  22. provider: script
  23. script: ./maint/utils/travis-deploy.sh
  24. on:
  25. branch: master