Skip to content

Commit

Permalink
added setup script for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
smiklosovic committed Jul 27, 2021
1 parent 2dfa78d commit 9f3e224
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
version: 2.1
jobs:
build:
docker:
- image: circleci/openjdk:8-jdk-stretch
machine:
image: ubuntu-2004:202104-01

working_directory: ~/cassandra-everywhere-strategy

Expand All @@ -22,7 +22,7 @@ jobs:
- ~/.m2
key: m2-{{ checksum "pom.xml" }}

- run: mvn clean install
- run: ./conf/setup.sh && mvn clean install

- persist_to_workspace:
root: ~/cassandra-everywhere-strategy
Expand Down
9 changes: 9 additions & 0 deletions conf/setup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

whereis pip
whereis wget
whereis zip
whereis unzip
whereis python

pip3.9 install ccm && wget https://github.com/zegelin/ccm-extensions/archive/refs/heads/master.zip && unzip master.zip && cd ccm-extensions-master && python3.9 setup.py install

0 comments on commit 9f3e224

Please sign in to comment.