.travis.yml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. - package/deploy/sftp-symlink.sh linux ~/slic3r-upload.rsa AppImage Slic3r*.AppImage
  20. - package/deploy/sftp-symlink.sh linux ~/slic3r-upload.rsa tar.bz2 *.bz2
  21. branches:
  22. only:
  23. - master
  24. - xsgui
  25. cache:
  26. apt: true
  27. directories:
  28. - "$HOME/cache"
  29. addons:
  30. apt:
  31. sources:
  32. - ubuntu-toolchain-r-test
  33. packages:
  34. - g++-4.9
  35. - gcc-4.9
  36. - libgtk2.0-0
  37. - libgtk2.0-dev
  38. - freeglut3
  39. ssh_known_hosts: dl.slic3r.org
  40. notifications:
  41. irc:
  42. channels:
  43. - chat.freenode.net#slic3r
  44. on_success: change
  45. on_failure: always
  46. use_notice: true
  47. dist: trusty
  48. env:
  49. matrix:
  50. global:
  51. - secure: eEVRZNMv7FM6jrOU9iAFkDhWxFQ1WtHBEaObImcvtFUxy6vWSt3ehFFeTRouj3uHQAnbvUzziDyvPPm8/95alv5g/du8ML6YzzqKBKfazM0xQ7SF6R2DQL8lfFIp+RSV7T02byEP1f1g7Zva7xH9szIlDcSfU0pXW4KWbkBFMd8=
  52. - secure: gj338h+qHGccTD/VQFmEJkqdg2McIe2pO0iZ4Ae9BvY5vxkIML4BpoYZQXQTqiAOETnUjlcknY9lx0hI/PfkDD9MSJc5BC/3fMYRCu3SgAclEwklWf9vvtodUeT69mtnZuw1zze1nTbExuOw2mepbqFjxKKMl+9l5oCz4O54fXU=