-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy path.travis.yml
36 lines (36 loc) · 4.39 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
language: python
dist: xenial
python:
- '3.7'
env:
global:
- secure: nIScPdnBs+aDt1bGUiKX7nYHQ8AVExruc+MRh3FjOzp4kxqrhEasZGd390s9v219OAkDUh2l1VBLQnNF748eYi43ws+c8bJdra4cO4UcwZJct6bOJTub8hTFwjzX3Bs9uQQRqMPmc/7pmAU1F+DInwJBnf4eQppw9mrXUQhS3Xbd5lxm8fMoCdhFGX8ZuOBZ9AhmBNuaTvuoffkKXF1pdnrM4zmwkfjVE4BhIbhPuI9uSLcFMwyFmzQI0fIPjyM5ojFcJ5/sB7YJ6LZu1JXRKeOXVfjvcjW7B87kvs2Fv3ca1sCLpTVySBL/kWvyDb8ewjU+34X5ev49QZJuVE7ntvEjdLQtAfJb133keuP64vX7uaH7YY6tvADJL01TitJl/n0M0oasV8bE/9Q/rP9M+6zgRwMd6R1mjG+WPAH6F/ga0XpYEiUtw3pQii4c6q1E1jNVNBLx2TMPlsUOGQ93FgdxxkUshwNAMbMXqTJpOny9oDQexBJK7CHFvnOq6//BeaEz/XF5vUQerpjMAQ2Y41tykHjTKFWvL1JJ3bh93DJ0sTqbWpoTh2rnIRc5GZuBMAsqMEqIPKZygBtPI4T5n/Lltu58cCTNOSjxN0VtcbioudxMldGqpQszfCZyliJ5TKiWpVpsdbEC2Zl5UbU8Ijw8UILJ1dP1vjYMdnb9u6M=
- secure: ccRo+ISk/Ym4VS3DFN6bDJd3ze3eN7YqIDhUYL1+nOblWbQaOqrV6o8cwdU8azkpxxfgXuvUC96O3cU23OS74/df4EG/0sYDwR/7uMwsuRKfhCQQBvUNqfIjlnhzC/6tDK6XRnUVTcrlZ/K8xWHnT0sc+bSMgyJogoRhwM34B6ALhigjcm3sVQxCIEWh1IuaFGTX3GCk85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1q4vLO4EDNAT7Ug12XehR69uCsw245qNSRTZFRIZsKZgPuM7JLKAPFhfqAHWTBaWjim4i9Zu5/OkN+QIc62z5VCtxzz+UFvMw/ZcrPcsJPCohvUlwzA/0BgoJdZtuJjGHMu5rMXuEWmzT1ucC3v6C6DFdtmB9hzFASQgkyd1veGfZnkOHAo+Hl1dmq5h4hk0BzZG4fA73D3sXfgHjoFyYSSxOPjgVKJtI3bVhRGD+EpObfRZSTDc9iRcPoCkdfnPwUzuda8wvbJp2Qm81/6aIxNCGy5rVOlHA9KivkjBgr5LAPo8m2x4C2wUjBqBw7wPgmGoU0zljVd0z/CgDVU4OQ+ASe6suJCtJUoVOJGYwx8eXNPTtyqp0ljdDtmGhCAkmDlW+clmA8Ikq1oXp1yfYpvzGVkCoiD1fyaBLwNX3trKlPleZV+zgMdBDXS0tjZ4whO1C3Eb6DDstkhxmg=
install:
- pip install -r requirements.txt
- pip install codecov
script:
- sudo sh test/travis_ci_scripts/travis_ci_build_script.sh
- coverage run -m unittest
deploy:
on:
all_branches: true
provider: script
script: bash test/travis_ci_scripts/deploy.sh
after_success:
- codecov
after_deploy:
- 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}"
- 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