Skip to content

Commit 403181d

Browse files
author
bego
committed
add build stage
1 parent 92a3c4a commit 403181d

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

.travis.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,9 @@ jobs:
55
include:
66
- stage: check_release_steps
77
scripts: "./.travis/check_release_step.sh"
8-
8+
- stage: build
9+
scripts: "./.travis/build.sh"
10+
addons:
11+
artifacts:
12+
working_dir: dist/
13+
target_paths: ${ARTIFACTS_JOB_ID}/${TRAVIS_OS_NAME}/${TRAVIS_COMMIT:0:8}

.travis/build.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/usr/bin/env bash
2+
3+
echo "Building version $(python setup.py --version)"
4+
5+
pip install dist/gs_api_client-$(python setup.py --version).tar.gz
6+
7+
echo "Building Done"

0 commit comments

Comments
 (0)