File tree Expand file tree Collapse file tree 6 files changed +14
-34
lines changed Expand file tree Collapse file tree 6 files changed +14
-34
lines changed Original file line number Diff line number Diff line change 5
5
- " 3.5"
6
6
- " 3.6"
7
7
- " 3.7"
8
- install : " script/ci-bootstrap "
8
+ install : " script/setup "
9
9
script : " script/ci"
10
10
cache : pip
Original file line number Diff line number Diff line change @@ -34,6 +34,10 @@ for i in ${@}; do
34
34
done
35
35
36
36
37
+ echo " ==> Cleaning previous build artifacts"
38
+ script/clean
39
+
40
+
37
41
# Project build steps
38
42
if [ ${all} ] || [ ${package} ]; then
39
43
echo " ==> Building the Source Distribution package"
Original file line number Diff line number Diff line change 9
9
cd " $( dirname " $0 " ) /.."
10
10
11
11
12
- # Initialize the CI environment
13
- echo " ==> Initializing the CI environment "
12
+ # Build the package
13
+ script/build package
14
14
15
15
16
- # Setup the project
17
- script/setup --dev
16
+ # Install the package
17
+ for file in dist/* .tar.gz; do
18
+ pip install ${file}
19
+ done
18
20
19
21
20
22
# Run the test suite
21
23
script/test
22
-
23
-
24
- # # Build the product(s)
25
- # script/build
26
- #
27
- #
28
- # # Push the builds
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -16,9 +16,7 @@ export PIP_REQUIRE_VIRTUALENV=true
16
16
# Prefer use of a Pipfile and pipenv for dependency management
17
17
if [ -f " Pipfile" ] && [ -n " $( pipenv --version 2> /dev/null) " ]; then
18
18
echo " ==> Installing Pipfile dependencies"
19
- echo " Installing development dependencies"
20
- pipenv install -e .
21
- pipenv install --dev
19
+ pipenv install --dev --skip-lock
22
20
23
21
elif [ -f " requirements.txt" ]; then
24
22
echo " ==> Installing requirements.txt dependencies"
@@ -37,7 +35,7 @@ elif [ -f "requirements.txt" ]; then
37
35
exit 1
38
36
fi
39
37
40
- pip install -e .
41
38
pip install -r requirements.txt
39
+ pip install -e .
42
40
43
41
fi
Original file line number Diff line number Diff line change @@ -12,4 +12,4 @@ cd "$(dirname "$0")/.."
12
12
echo " ==> Setting up / resetting project for initial use"
13
13
14
14
script/clean --deep
15
- script/installdeps --dev
15
+ script/installdeps
You can’t perform that action at this time.
0 commit comments