Skip to content

Commit

Permalink
Fix Tests (#114)
Browse files Browse the repository at this point in the history
* fix test

* test env change

* correct pathing fail

* bump verison

* update

* comment matrix
  • Loading branch information
Orie Steele authored and eolszewski committed Jun 2, 2018
1 parent bff95f3 commit e7afeab
Show file tree
Hide file tree
Showing 10 changed files with 916 additions and 4,143 deletions.
94 changes: 47 additions & 47 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,49 +20,49 @@ matrix:
- HELM_VERSION=v2.8.2
- NVM_DIR="$HOME/.nvm"
- HELM_SHA256=0521956fa22be33189cc825bb27b3f4178c5ce9a448368b5c81508d446472715
language: bash
- os: linux
dist: trusty
sudo: required
env:
- KUBE_VERSION=v1.9.0
- DO_JWT_DL=n
- VERBOSITY=100
- CHANGE_MINIKUBE_NONE_USER=true
- MINIKUBE_VERSION=v0.25.2
- USE_VOX=n
- USE_WARN=n
- EDITOR=cat
- MINIKUBE_MEMORY=7777
- MINIKUBE_CPU=4
- MINIKUBE_DISK=50g
- MINIKUBE_DRIVER=none
- HELM_INSTALL_DIR=$HOME/.local/bin
- HELM_VERSION=v2.8.2
- NVM_DIR="$HOME/.nvm"
- HELM_SHA256=0521956fa22be33189cc825bb27b3f4178c5ce9a448368b5c81508d446472715
language: bash
- os: linux
dist: trusty
sudo: required
env:
- KUBE_VERSION=v1.8.0
- DO_JWT_DL=n
- VERBOSITY=100
- CHANGE_MINIKUBE_NONE_USER=true
- MINIKUBE_VERSION=v0.25.2
- USE_VOX=n
- USE_WARN=n
- EDITOR=cat
- MINIKUBE_MEMORY=7777
- MINIKUBE_CPU=4
- MINIKUBE_DISK=50g
- MINIKUBE_DRIVER=none
- HELM_INSTALL_DIR=$HOME/.local/bin
- HELM_VERSION=v2.8.2
- NVM_DIR="$HOME/.nvm"
- HELM_SHA256=0521956fa22be33189cc825bb27b3f4178c5ce9a448368b5c81508d446472715
language: bash
# language: bash
# - os: linux
# dist: trusty
# sudo: required
# env:
# - KUBE_VERSION=v1.9.0
# - DO_JWT_DL=n
# - VERBOSITY=100
# - CHANGE_MINIKUBE_NONE_USER=true
# - MINIKUBE_VERSION=v0.25.2
# - USE_VOX=n
# - USE_WARN=n
# - EDITOR=cat
# - MINIKUBE_MEMORY=7777
# - MINIKUBE_CPU=4
# - MINIKUBE_DISK=50g
# - MINIKUBE_DRIVER=none
# - HELM_INSTALL_DIR=$HOME/.local/bin
# - HELM_VERSION=v2.8.2
# - NVM_DIR="$HOME/.nvm"
# - HELM_SHA256=0521956fa22be33189cc825bb27b3f4178c5ce9a448368b5c81508d446472715
# language: bash
# - os: linux
# dist: trusty
# sudo: required
# env:
# - KUBE_VERSION=v1.8.0
# - DO_JWT_DL=n
# - VERBOSITY=100
# - CHANGE_MINIKUBE_NONE_USER=true
# - MINIKUBE_VERSION=v0.25.2
# - USE_VOX=n
# - USE_WARN=n
# - EDITOR=cat
# - MINIKUBE_MEMORY=7777
# - MINIKUBE_CPU=4
# - MINIKUBE_DISK=50g
# - MINIKUBE_DRIVER=none
# - HELM_INSTALL_DIR=$HOME/.local/bin
# - HELM_VERSION=v2.8.2
# - NVM_DIR="$HOME/.nvm"
# - HELM_SHA256=0521956fa22be33189cc825bb27b3f4178c5ce9a448368b5c81508d446472715
# language: bash

before_script:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then bash .ci/linux_before_install.sh; fi
Expand Down Expand Up @@ -93,7 +93,7 @@ script:
- bash -l -c "kubectl get svc --all-namespaces"
- bash -l -c "kubectl describe pod $(kubectl get pod --all-namespaces|grep gateway-kong-migrations|awk '{print $2}')"
- bash -l -c "kubectl describe pod $(kubectl get pod --all-namespaces|grep -v gateway-kong-migrations|grep gateway-kong|awk '{print $2}')"
- bash -l -c "lerna run --scope transmute-framework truffle:test"
- bash -l -c "lerna run --scope transmute-framework truffle:migrate"
- bash -l -c "lerna run --scope transmute-framework test"
- bash -l -c "lerna run --scope transmute-framework test:report"
- bash -l -c "TRANSMUTE_ENV='minikube' lerna run --scope transmute-framework truffle:test"
- bash -l -c "TRANSMUTE_ENV='minikube' lerna run --scope transmute-framework truffle:migrate"
- bash -l -c "TRANSMUTE_ENV='minikube' lerna run --scope transmute-framework test"
- bash -l -c "TRANSMUTE_ENV='minikube' lerna run --scope transmute-framework test:report"
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,13 @@ In order to connect to services running in your cluster, you will need to update
Final steps - linking everything and migrating your smart contracts

1. Navigate to the root directory
2. Run `lerna bootstrap`
3. Run `lerna run --scope transmute-framework truffle:test`
4. Run `lerna run --scope transmute-framework truffle:migrate`
5. Run `lerna run --scope ipfs-api build`
6. Navigate to the `/packages/transmute-dashboard/` directory
7. Run `npm run truffle:migrate`
8. Run `npm run start`
1. Run `lerna bootstrap`
1. Run `lerna run --scope transmute-framework truffle:test`
1. Run `lerna run --scope transmute-framework truffle:migrate`
1. Run `lerna run --scope transmute-framework test`
1. Navigate to the `/packages/transmute-dashboard/` directory
1. Run `npm run truffle:migrate`
1. Run `npm run start`

That's it! [Login to the app](http://localhost:3000) and click on the dashboard button in the side menu to begin recording events!

Expand Down
Loading

0 comments on commit e7afeab

Please sign in to comment.