.travis.yml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. language: perl
  2. before_install:
  3. - sh package/linux/travis-decrypt-key
  4. install:
  5. - export BOOST_DIR=$HOME/boost_1_63_0
  6. - export SLIC3R_STATIC=1
  7. - export CXX=g++-4.9
  8. - export CC=g++-4.9
  9. - source $HOME/perl5/perlbrew/etc/bashrc
  10. script:
  11. - bash package/linux/travis-setup.sh
  12. - perlbrew switch slic3r-perl
  13. - perl ./Build.PL
  14. after_success:
  15. - eval $(perl -Mlocal::lib=$TRAVIS_BUILD_DIR/local-lib)
  16. - LD_LIBRARY_PATH=$WXDIR/lib package/linux/make_archive.sh linux-x64
  17. - package/linux/appimage.sh x86_64
  18. - package/deploy/sftp.sh linux ~/slic3r-upload.rsa *.bz2 Slic3r*.AppImage
  19. branches:
  20. only:
  21. - master
  22. - xsgui
  23. cache:
  24. apt: true
  25. directories:
  26. - "$HOME/cache"
  27. addons:
  28. apt:
  29. sources:
  30. - ubuntu-toolchain-r-test
  31. packages:
  32. - g++-4.9
  33. - gcc-4.9
  34. - libgtk2.0-0
  35. - libgtk2.0-dev
  36. - freeglut3
  37. ssh_known_hosts: dl.slic3r.org
  38. notifications:
  39. irc:
  40. channels:
  41. - chat.freenode.net#slic3r
  42. on_success: change
  43. on_failure: always
  44. use_notice: true
  45. sudo: required
  46. dist: trusty
  47. env:
  48. matrix:
  49. global:
  50. - secure: eEVRZNMv7FM6jrOU9iAFkDhWxFQ1WtHBEaObImcvtFUxy6vWSt3ehFFeTRouj3uHQAnbvUzziDyvPPm8/95alv5g/du8ML6YzzqKBKfazM0xQ7SF6R2DQL8lfFIp+RSV7T02byEP1f1g7Zva7xH9szIlDcSfU0pXW4KWbkBFMd8=
  51. - secure: gj338h+qHGccTD/VQFmEJkqdg2McIe2pO0iZ4Ae9BvY5vxkIML4BpoYZQXQTqiAOETnUjlcknY9lx0hI/PfkDD9MSJc5BC/3fMYRCu3SgAclEwklWf9vvtodUeT69mtnZuw1zze1nTbExuOw2mepbqFjxKKMl+9l5oCz4O54fXU=