Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. jobs:
  2. include:
  3. - stage: test
  4. language: python
  5. name: Test cli
  6. python:
  7. - '3.4'
  8. before_install:
  9. - cd cli
  10. install:
  11. - pip install -r requirements.txt -r test-requirements.txt
  12. script:
  13. - export PYTHONPATH='.'
  14. - python -m unittest discover
  15. - stage: test
  16. language: python
  17. name: Test backend
  18. python:
  19. - '3.4'
  20. before_install:
  21. - cd containers/backend
  22. install:
  23. - pip install -r requirements.txt
  24. script:
  25. - python manage.py test
  26. - stage: test
  27. language: node_js
  28. name: Test JavaScript packages
  29. node_js:
  30. - lts/*
  31. addons:
  32. chrome: stable
  33. cache:
  34. yarn: true
  35. before_install:
  36. - curl -o- -L https://yarnpkg.com/install.sh | bash
  37. - export PATH=$HOME/.yarn/bin:$PATH
  38. install:
  39. - yarn install
  40. script:
  41. - yarn test
  42. - stage: test
  43. language: node_js
  44. name: Test mobile app
  45. node_js:
  46. - lts/*
  47. cache:
  48. yarn: true
  49. before_install:
  50. - curl -o- -L https://yarnpkg.com/install.sh | bash
  51. - export PATH=$HOME/.yarn/bin:$PATH
  52. - cd mobile
  53. install:
  54. - yarn install
  55. script:
  56. - yarn test
  57. - stage: test
  58. language: generic
  59. name: Test containers
  60. services:
  61. - docker
  62. before_script:
  63. - cd containers
  64. script:
  65. - "./test.sh"
  66. - stage: deploy
  67. language: python
  68. name: Deploy cli
  69. python:
  70. - '3.4'
  71. script: skip
  72. before_deploy: cd cli
  73. deploy:
  74. provider: pypi
  75. user: guillaumevincent
  76. password:
  77. secure: AOCdqmMdtzmxZXnnMM4ToA80y1PftTVoPsFi7D9RglfneRruRocfI+HQ1Y2m3wUkdGEKVrzkHudiOVMLpeuiMerz9JzQNX/MoujjTvq0h24pnXC+Y2JLNgqxQNuKttgBYP9yMhdgo0Si25KqRLTbmGNZLVnN1hXKV206alNmRWqsZeI/Yxje2FDgRnVTsAtXM+R2g/SvM5r/zVnFiogT/gbQ1Voz+kUo7c15o3Sp3D9+WL38P9Sk3tIVl7RA8o1yd7actDVezPhQPddSu+o+3poxUfrX9LtnibJiuWvqBRdQ2Pjwc7ZSjNJ/zPXntCu8hvdEVzCAXbVFfkhsk1xEDGrEne1hyRJuRX3F9o+SgkuKz53mSg1Wxw7tK6fmnyNG+EMU+oeIKGzNd4Ta/Dk9MzmrymeQgFsZSSFIlwi0ecJ7N+3f0UYTlMR788Q7JGXLsqHfY473rI1M5cpC24l88Pibsdjzf66sanlsZtzHN/51CZzuLLHwTt714CV2bVsffdp3UqaJ+pbhdLXYtrLColOg5Ua3el+t999pVr0r/V/gSqRKKVZqgbUwd9ajYTqYXDDt0+/+9c7ynhfH4hMLsafAZNhf74KBIbL7C30A/DfptiHlBP/5TWvOpzc+AyxWt8v1nnrEK/1vAGLGAaYkXKqmazb/9KlxkKDqDMC9ZQc=
  78. on:
  79. tags: true
  80. all_branches: true
  81. condition: $TRAVIS_TAG =~ ^cli.*$
  82. stages:
  83. - name: test
  84. - name: deploy
  85. if: tag IS present