-
Notifications
You must be signed in to change notification settings - Fork 7
/
.travis.yml
37 lines (37 loc) · 5.96 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
language: python
dist: xenial
python:
- '3.7'
env:
global:
- GITHUB_PROJECT=nebula-cmd
- secure: NhDoIISkLBzlUQyLaI+fH5oasxQS0GGebstF8rUOv1GpQf/lEkSWzI5A39UShcnx2c0lvaGzNtpl+JHHTJBZq2OM8G8+9rYe3fy8pEk48Fc6WA7OidmXJsikEpaP5gdV79oqM6/aDpCIRr9d2F8uUVPfRhd7mligmaPzrFR8a+qvhCWbgOnUB5fCp+e7jg3fv6LB3kE908i8Hwe8ZYBd0408AdcF+0lnMuh7lYRKWC+ZiEmeKi4jbZ58re7Ob5Ewgnj/KWVoaPP7krloNzxEN/inGY76rWx78irPgXmQvtZhY3NMirV8/ctAkqiGD9VnH9FHnEH+cCThPC791hgXZifZPlCxRarQ+t1ePX0m7hJ6k1sLttgBjoHDLPBaCofrEgHc9cDt4/sDlJRjpgGt1Ffa80Ub3kI0v3TBaQFih8qTAPAsBxEg9IVwXri+zp1VSCglX9dT2tXl7dOPXdfIHMVOpP/OGSAKcZEMoDEcJSJs6mjsm1AZqT6eZw0hZy65VM6iPQNWj29gj83/A1Gonxe58YLzHW0vLe2HawGbj6Y6W4lgnFUUMMoCf3VqLZR9yJ7FYEPy2hDT+lCrtpA5JNE08B6lGo+QdNca5UIEvwAxxXgiXPoxkvvXPCxER/tfVVQD1dyv0AYitRybefar2Hu1UjNFdR/i36j0Llf9UWw=
- secure: ctc/N8zZlRVeU4+MAg6uhPoHYlxs4NNvRQbQn6UH/VBzQaZAJPl8vyGu2WTsM1R7P2eOPP4LDxLocLjfptUXtvCY5dZ2LS99JSx8xRdghHRIz9KdJqdqnFzf3rhl4O90edZM7GaPGj6oyArYdZDWDEh4pNUOzyAwF1ibOhIf4k4RFa96qfupE57HO5KDMI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l5j32c7h/7u08Ad/frA=
- secure: pZK5/jIRtTjGkqNKHGznWO+2iFOMgJpj2EApifpg7PQN4Knesq96gWzDwhfVeXIlftnr+/7+tKaJYmMISMCS+jsZwmhBxS4kYnNGV1jNqK6cQ6ANefCtdgKSLMNEPXpiLyXYD9BlBTd+46LAfVm05MFqCycr/BoI9JAUo0WoN224yiAKgrJLBu++bT9gXknClEGk+JAYP0NcsfsyuhSKsW4R5fmegOcG747BKEWceJy+uBU8LGmXKFn0Uz6H0emq85Dm+vSv44F2zW5dB60yqlEn5W49bpD5+/zYHJlVoF3DHaAU9XU2dAMknqseDr5X1fk9xFNztVsWsHFzNQi0oM8DsDcFedFnGFa7gUddSByyxYnjkoWHgkJWx9ofiFnPY2yipXFxj6Nd3X87aTUPUgfsaogEEkVNrw3+/X7EMzYL36Rf9jHrIhUzRicq0v4Ht/bEcoivTOyG2+xtzM7EPsT233RYDKiB6opgOKPbrfeQOogaijx2EF+CpaD3iXamLNPUnWBDhnwFBBUoCYoXPtkduJvcln1AJpYR8csjxDil+QuZMs3eduUPzk03sTxA5OlSktD0Kn4i1aBAStLEXZgnSVt/8uq2wcLE13qszjaS+uWS8qZeMPY6OCJ9tiWU1aMSsnKv2d61lq42fjrl4tOZ1g7HdG4THJOoE7mwJBg=
install:
- pip install -r requirements.txt
- pip install codecov
- pip install -U setuptools
script:
- sudo sh test/travis_ci_scripts/travis_ci_build_script.sh
- coverage run -m unittest
after_success:
- chmod +x test/travis_ci_scripts/upload_nebulactl.sh
- test/travis_ci_scripts/upload_nebulactl.sh
- codecov
- git config credential.helper "store --file=.git/credentials"
- echo "https://${GH_TOKEN}:@github.com" > .git/credentials
- git config --local user.name "${GITHUB_USER}"
- git config --local user.email "${GITHUB_USER_EMAIL}"
- git pull
- git commit -m '[skip travis] build ${TRAVIS_BUILD_NUMBER} pushed - new ${GITHUB_PROJECT} version released'
- git tag $(dist/nebulactl --version | awk -F"version" '{print $2}')
- git push origin $(dist/nebulactl --version | awk -F"version" '{print $2}')
- docker run -e GITHUB_USER=nebula-orchestrator -e GITHUB_PROJECT=${GITHUB_PROJECT} -e CHANGELOG_GITHUB_TOKEN=${GH_TOKEN} -v `pwd`:/output naorlivne/github-changelog-generator-dockerized
- git add CHANGELOG.md
- git commit -m '[skip travis] build ${TRAVIS_BUILD_NUMBER} pushed - new version changelog'
- git push origin HEAD:master