-
Notifications
You must be signed in to change notification settings - Fork 12
/
.travis.yml
37 lines (37 loc) · 4.47 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:
- MONGO_URL=mongodb://nebula:[email protected]:27017/nebula?authSource=admin
- DOCKER_HUB_ORG=nebulaorchestrator
- DOCKER_HUB_REPO=manager
- GITHUB_PROJECT=manager
- secure: I9/SoRRodn/UwDS3J09o+kSlZyGAUF+3Ek8GhDO1+UxXTeE1/E0dUgJi3rJD98V+1+L4PYnBq6WxpHENFDkZMvuS09pKKeZOaG+eaiF+Il2iRcRHLk2QlBCcAHbjCuJlH4+zDPk+lE+gjdWpc3yH6qg7XyxELzNvvLjnxUCD+jMUkaEdTGXH94GTAfHps1RDn+YeNiZrut6V82PoLTIT6NBzaqN1ZF4Ux+PJY+Cq/Yl0MzChQM8ID9a9nDGJ0sLJe6qjYJQn/kxqDNXMsGxSLfPTaAW+jRWU06pQiCJjGgI2vbYTNBX+KqGZ59fzCGpzHAB1iM+uLaWwnahJKxXyDtwlBQGlMAkfOcY7RmmzSQ5eoFFGtVjSW+aBqtsWuQsM6R5tHPHMCKE0Id2j+bpWgM+QXdLnIcTnvsQCKlsPDKs2ndDF2lgp4stwQP227BlOvd4W/+rrFXnNvkvoZ4vNGXuONR7NuDM0+5XBgUTSDEbLAxOex4HEsdQe9vjQLX46Le7bZSw7F8WT63UlCm9VciniQ37UW+SglobVvT//sa3erx+K810I/MXNbC89qY1Aw+EjrNggHKE3p6DdJqw3o9IWg6bFasIz2or1QnfH81NCDFmbRzh/GlYIk2uHwmR2TJ5WW88XngwQCP3so2IJ67g9gtvTo80SDCW52jEv6OY=
- secure: iee/jaG8EIbbUyVDlCqwsZ7BQJbeIluHeYJ1MmZSoiDWUSvQgReIx90jIt/80jw3eY20YITNYpZxW0wwfvaJdpHXlaEUjItPcUo+vKV2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o8hEEzXdVUzSe5mjZkMtKDDrDGgvf/DQnWH3WKT7OqD/zhCiH0EkCYX5hzYERh8YH+lFGJEaUUhhYfbpO80z3vem29sY+Q6Z++59278BDO9lWeb1jnAgLVqF4Zu49SypL6A9dGW/4tyZKC1uWPrgKGDnn0hCoImCb5arjMZTJMOXG5F4zDaDLDT3U2feZ4lHJB0y4fLN4gblfMjDMShXkTSmeQVY5PT/LiH13eu4+MPJYdnkWyxd4qJilbFWjbPLHjulPHQ+OpJrP7Ex0x3J0ZDHUq8snFPGyfQ+P/7tAUnzxNBXlbD0FqW+bQhjCl/BZIgIjiWEdxpknKWB5SnzSRLDPLUqEwMzleAygw0c3K4wWUKiQ2chp4tLUMOZz7GvobyjmjQHL9tgmfUT+tmV6BBKJzGOHc9zQ/KU2Y/A9iSImDy79h543RJZknszceU4jtcDzcUoNAC81bCx7ClVr6rmlvCUm1w8gM=
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