My build of nnn with minor changes
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

.travis.yml 1.9 KiB

il y a 7 ans
il y a 7 ans
il y a 7 ans
il y a 7 ans
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. language: c
  2. sudo: required
  3. matrix:
  4. include:
  5. # Access more recent gcc and clang via a Trusty image
  6. - os: linux
  7. dist: trusty
  8. compiler: gcc
  9. - os: linux
  10. dist: trusty
  11. compiler: clang
  12. - os: osx
  13. compiler: gcc
  14. - os: osx
  15. compiler: clang
  16. - os: linux
  17. dist: trusty
  18. env: USE_DOCKER=1 OS_TYPE=centos OS_VERSION=7
  19. - os: linux
  20. dist: trusty
  21. env: USE_DOCKER=1 OS_TYPE=fedora OS_VERSION=26
  22. before_install:
  23. - if [ "$USE_DOCKER" = "1" ]; then
  24. sudo systemctl start docker.service;
  25. sudo docker pull $OS_TYPE:$OS_VERSION;
  26. fi
  27. script:
  28. - if [ "$USE_DOCKER" = "1" ]; then
  29. ./build-docker $OS_TYPE $OS_VERSION;
  30. sudo chown -R $(id -un).$(id -gn) dist;
  31. else
  32. export CFLAGS=-Werror;
  33. make clean;
  34. make;
  35. make clean;
  36. make -f Makefile.native;
  37. fi
  38. after_success:
  39. - if [ "$USE_DOCKER" = "1" ]; then
  40. ls -l dist;
  41. fi
  42. deploy:
  43. skip_cleanup: true
  44. provider: releases
  45. api-key:
  46. secure: bdw73zBeBEZtDZGEyFpAksnpwLHTBaC7VP1pONmnsXv4qmMcynASz0LfE4krEdAsRnvxQvqPZXviy/SZ3bmaLpVQmJIC1uRWIyOBE6K/7ddf+wfLy+1uO9EPd/zDF/D28Xy8QJLDGDZI08BY5Fist4XowyvtdW3GRwwDL7TwyZyigr0fkqLJwYcqCpojsHsjXjhkpGZqB5XRztaJ4kIEVz8du03ZU1l5kA9lI8Pdk9+mntOOt6emlaJl+Wr81QkwA8TvGPlZ1VP/+h9YCtlRy/4OuiU+bg5/Atxjh8M6rsq+WpZ3ZdYbR6x5vP78p9f6TsJa4ymGhhW6MhYrKPwdT4oITzZcOXJl6AEoIvrWHQWLY7K3WaEfRbT+DODnXks0ToFKls7wyWfi/AHI0ejeDD5Na5/XhY0jdVYOVvovoY2n8LBaqRTFJDYKoCbJ1S+6myUvvmFVwiZWcgOv9gVX1aaIl4wh+XuzUtPDJTcJtUOE8Q2MWl0bdYVtEkHVRznPXN5u3odrDaeTD3vo+pEaEpshLoSKhCyyWvslSzN7T98ez3aw3KFXoFhXPEg5MEJWy7u359MaVwJIsOGUDAFhy/Y7h83LjQYnu8cmX2wuVrQIRIlGVB0f10GYZzPffZz98I/T0xv75NzpyRs31/wMxvdXz35c8m/yTup4kAkG/1s=
  47. file_glob: true
  48. file:
  49. - dist/*.deb
  50. - dist/*.rpm
  51. on:
  52. condition: $USE_DOCKER = 1
  53. repo: jarun/nnn
  54. tags: true
  55. tags: true