This repository has been archived by the owner on Nov 25, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
35 lines (35 loc) · 2.87 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
language: python
python:
- '3.7'
services:
- docker
git:
depth: false
env:
global:
- IS_LOCAL=false
- secure: B0+rEBKxJBE+X234WfYlXNqGFjuGGwM9dV8zF3wb8kLeqAHd42oeCejw7FFgwDpMOVets+tFmlLnp8V7OLh6dqQ+EM9PBzTrMGpp13KN/F1FRteMMfdYkEtElHYZoYoXLlvmT/r0ngfKkkqSUWeJVFurgHHY9uk3g8a3TzsWecbPKl/QrMM2MW061NYtD69vuMBk4IjD/kRZOIxzJo0Gng8tlBmkPD3911d6GU5j7LrTupHEvxSpHVu78Lh09NIHkHAKxuWH+pNmcfMYe527IpT5y1NIJkFq0KfvUQT1VTWuiN++xGLXWnkw3LUQ1cIblZWqPmcAKjhfwCiGAwkCoo8YRMOe3mqZA4M+5fLQwlDOKjFfaMqye0tMyd80qM2GfnHjoOB9aWZQ/HvRZ6Oz2oP3XFZQ6CEQgZH+QsbDq5axslbxBNg6Fy/9JUSF4t3j/OFbbWX/GsXmFWZfEnNJGSw/XW3jucfmvRtLkk8IH4OSImUxztVMm6AaQTWnkWXcp+nSVuflr5LMfUW9vZE9zLkhNQbhAPrdYFtwKj8xWIKTr9Ta9ba6CONfBuq/ufnvOqObUj7B4piU7gKaiBWZOwEuLUNtisV0kOzw/1bk+mq0GIuPG6JhxMTCeXiAXm9e4lk8lUYrTjt1NxksBQ/Z+Rk2fGApgbx1WArAOIXb+nU=
- secure: TDjmAMPf7LxHwzO3+M0vAY/TPOh2hjFaDyDE7Tsi7p7nQkBCKyL0x33ID69OsVM4dpLdgptZC21AdjsIs7ZocZpvgU+J8Q1oSHJQcx/FksukDI+WK7PV7oqfG/fnib++JpEww8eTTgLt1L4HbxwHU6OsgN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3anMoVndLOBz7hbgnnbnUjKiB60E+NPXyDZ3+RCqV/sXwJPEhYYUhY3r7D8oNBUVUjlt5JOj6s2WDrOBu4Xr/SvD0C5OC5lDPWPUNEmrRtQiV7gMVyC/5aBzYtGBIKJT99RS9k9jbPk+AxQzAA=
branches:
only:
- master
before_install:
- |
if ! git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qvE '(.json)|(.md)|(.png)|(.pdf)|(.html)|^(LICENSE)|^(docs)'
then
echo "Only doc files were updated, not running the CI."
exit
fi
- pip3 install boto3
script:
- "./gen_network_info.py"
after_success:
- git config --global user.email ${GIT_EMAIL}
- git config --global user.name ${GIT_NAME}
- git add README.md conf/*.json
- git status
- git commit --allow-empty -m "Travis ${TRAVIS_BUILD_NUMBER} - auto commit [ci skip]"
- git push https://${GH_TOKEN}@github.com/JINWOO-J/icon_network_info.git HEAD:master
#- git remote set-url origin https://${GH_TOKEN}@github.com/JINWOO-J/icon_network_info.git
#- git push -u origin master