Skip to content

Commit b545f55

Browse files
committed
Introduce entry point
1 parent e60d9ab commit b545f55

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.travis.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ install:
2525
- pip install sphinx-intl
2626
before_script:
2727
- build_type=$(bash ${TRAVIS_BUILD_DIR}/scripts/determine-build-type)
28+
- export build_type
2829
script:
29-
- bash ${TRAVIS_BUILD_DIR}/scripts/${build_type}/prepare-build_3.7
30-
- bash ${TRAVIS_BUILD_DIR}/scripts/${build_type}/upload-catalog
31-
- bash ${TRAVIS_BUILD_DIR}/scripts/${build_type}/renew-catalog-template
30+
- bash ${TRAVIS_BUILD_DIR}/scripts/${build_type}/main.sh

scripts/push/main.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/bash
2+
set -eux
3+
4+
bash ${TRAVIS_BUILD_DIR}/scripts/${build_type}/prepare-build_3.7
5+
bash ${TRAVIS_BUILD_DIR}/scripts/${build_type}/upload-catalog
6+
bash ${TRAVIS_BUILD_DIR}/scripts/${build_type}/renew-catalog-template

0 commit comments

Comments
 (0)