Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(CircleCI): tests shall not fail! ✔️
- Loading branch information
Showing
3 changed files
with
36 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
version: 2 | ||
jobs: | ||
build: | ||
machine: true | ||
working_directory: ~/repo | ||
steps: | ||
- checkout | ||
- run: | ||
name: Setup | ||
command: | | ||
sudo pip install --ignore-installed setuptools | ||
sudo pip install urllib3 pyOpenSSL ndg-httpsclient pyasn1 | ||
sudo cp -r ~/.ssh/* /root/.ssh | ||
mkdir -p ~/.bench | ||
mkdir -p /tmp/.bench | ||
cp -r ~/repo/* ~/.bench | ||
cp -r ~/repo/* /tmp/.bench | ||
- run: | ||
name: Install Bench (Production) | ||
command: sudo python ~/repo/playbooks/install.py --user travis --run-travis --production | ||
|
||
- run: | ||
name: Setup Tests | ||
command: | | ||
cd ~ | ||
sudo pip install --upgrade pip | ||
sudo pip install -e ~/.bench | ||
- run: | ||
name: Run Tests | ||
command: sudo -E python -m unittest -v bench.tests.test_setup_production |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters