Skip to content

Commit 0284500

Browse files
committed
Boostrap the CI environment
Ensure pipenv is installed, then run the setup script as part of the `script/ci` script.
1 parent 0724a5f commit 0284500

File tree

5 files changed

+26
-9
lines changed

5 files changed

+26
-9
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ python:
55
- "3.5"
66
- "3.6"
77
- "3.7"
8-
install: "script/setup"
8+
install: "script/ci-bootstrap"
99
script: "script/ci"
1010
cache: pip

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,4 @@ urllib3==1.23
5050
versioneer==0.18
5151
virtualenv==16.0.0
5252
wcwidth==0.1.7
53-
-e git+https://github.com/CiscoDevNet/ciscosparkapi.git@d5981926dcabd16985ab3782795ed1d37a0a0ba4#egg=webexteamssdk
53+
-e git+https://github.com/CiscoDevNet/ciscosparkapi.git@0724a5f99ed027a6818032c7395b50d56d8e6c18#egg=webexteamssdk

script/ci

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ set -e
99
cd "$(dirname "$0")/.."
1010

1111

12-
## Initialize the CI environment
13-
#echo "==> Initializing the CI environment"
14-
#
15-
#
16-
## Setup the project
17-
#script/setup --dev
12+
# Initialize the CI environment
13+
echo "==> Initializing the CI environment"
14+
15+
16+
# Setup the project
17+
script/setup --dev
1818

1919

2020
# Run the test suite

script/ci-bootstrap

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/usr/bin/env bash
2+
# Bootstrap the CI environment.
3+
#
4+
# Copyright (c) 2016-2018 Cisco and/or its affiliates.
5+
# License: MIT
6+
7+
8+
set -e
9+
cd "$(dirname "$0")/.."
10+
11+
12+
# Initialize the CI environment
13+
echo "==> Bootstrapping the CI environment"
14+
15+
16+
echo "Installing pipenv"
17+
pip install --upgrade pipenv

script/update

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ set -e
99
cd "$(dirname "$0")/.."
1010

1111

12-
echo "==> Updating the package's dependencies"
12+
echo "==> Updating project dependencies"
1313
echo "Update installed packages"
1414
pipenv update --dev
1515
echo "Freeze package requirements"

0 commit comments

Comments
 (0)