-
Notifications
You must be signed in to change notification settings - Fork 1
/
.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:nebula@127.0.0.1:27017/nebula?authSource=admin
- DOCKER_HUB_ORG=nebulaorchestrator
- DOCKER_HUB_REPO=reporter
- GITHUB_PROJECT=reporter
- secure: teZI28CubTlE1OpTB7wkPzk8GjIiwJp3ksMzddrbV59xMcQlzok5zIJvhw0LWf5L4EHSlJht8BtD0/8PbCafBENACT/x5bTl5Ru3aHsZftmbOJW6C8pALdE/N09Xw/NH/6yVaDS/FdtI6W1/ldTtAP2PNiEpLQm9tvg3n5ye0MHMtPRxwEQ2iWjbiWOZVxgfDpP6/A5UPe5cmlUimcELM/ctGym/LDSNO/XJnwapWpSGvjFMuTqU1JH9OTvyD3Bvhy1rSPhvFomyD2Yk77dhuKloU0O1l5KxvF1RzGffGMu8xTZWHMRiuE8/Myl/hBH+PCmAgHwRGSieqfr+9LgwvfIw22UBYn3ySpZ596SulMst+/rwLZ1inxwxg75jHE2xWJWmGyM3TT1TJ9hD1CAkPFs+5UIO1kF6gYk7TG85mtA7avGsflAivQu8qDjqVmJEl7lvHSKM1wauj3790aLXUtP1odjvd/CcCUaJ6+NrpwuItg07KEfnb0CJzyfFMmuGwP441x1qo8I7woaEitLR0fLhODomAyUb4MkmNo0Ntq9shlaJNmcXZdJ7KHwd82t48qTGspi2s6K/ZwzyAl6Kio0izd9NQIb9wiHlWHL83xhetbSNR4wkyz24qWI35mwoI0X/aXrCwwUl1xj0chgqVz5BY/2puoyGuIj5qKN1CL4=
- secure: uwECiToau8OXCUbmd/ZMyeIDqHGMAq/WE+SBHZ/yqAhEQJ5b5G5B/8tuZPdP9GQeWVj+7469gS9zEhLrXR3ux9fIkJRWDW7alLBkxnul5pisv95G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rOY1rI+SE02WK5AnikE1F5LZtYd2FMfpVrgWQJOXqJM9Oy2DcZ+HI/aK7VIsFSwvUcBZhc94aFx3AvXwbc8Q8rFn6jKU7r18T/3euNUNNfgwqMDj36x4wKlqv1XP9/+bRcwCQeujahIHxE7d/eAkclSV8CGkZqIKxwWK8NPFiCKlHoBrcb9CGVQw3IRmUZ630RRkICz8FtWb8gVgDGFeZA0mwEZDvGTueKqUtVbrt5V+HkKIbjsl4cgpd4AbqsBURTGhlc/sNaCBefGV8fA3VRwWhTJiLoqXGyT2Y5keXZyNco06JSBYRNtKiz1wAWD6Eb0PqywalxhDwCk0ZximJ1jVvB5RCY9a7iWCfi8cKe0XdboJ2ZAL1s+s2cMbndQX0z5AigpbmbGRQlbNt5DiRc4bp62TwaSBx6YCqr0BK9kYpNPzNEUnOkoTGy0yG6huvHWNnaMKLOAQHum277fbmNAr2LT4=
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