Skip to content

Commit

Permalink
chore: Disable broken heroku deploy (fossasia#2176)
Browse files Browse the repository at this point in the history
  • Loading branch information
iamareebjamal authored Feb 29, 2020
1 parent 099a5f6 commit c147f7b
Showing 1 changed file with 8 additions and 23 deletions.
31 changes: 8 additions & 23 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Specify language to use
dist: xenial
language: node_js
node_js:
- 8.11.1

# Using sudo enabled Linux VM
sudo: required
services:
- docker
- redis

env:
- TESTFOLDER=test/serverTest.js CXX=g++-4.8 PATH=$PATH:${HOME}/google-cloud-sdk/bin CLOUDSDK_CORE_DISABLE_PROMPTS=1
- TESTFOLDER=test/roomsAndSpeakers.js
Expand All @@ -24,16 +24,12 @@ addons:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
code_climate:
repo_token: 46f6d31d6b0777711b6c7e733234b023bda56e2e02c792c68c889005cf032ea6
# installing required items for build
install:
- npm install -g istanbul mocha@3
- npm install
- npm install --save-dev
# Adds redis as a service
services:
- redis-server

# testing script
script:
- istanbul cover _mocha -- $TESTFOLDER
Expand All @@ -42,20 +38,9 @@ script:
after_success:
if ([ "$TESTFOLDER" == "test/serverTest.js" ]); then
bash <(curl -s https://codecov.io/bash);
bash gh_deploy.sh && kubernetes/travis/deploy.sh;
fi

# deploy to heroku
deploy:
provider: heroku
api_key:
secure: ogAnS9LCFXVkMocd7DbYup45n8eRHIFpeptDP947PajNy27xPfOspBGj1UMQri/0d/hAYqdC52Bfd7eccyOLm/6H9d5LzDWNBHz4rqT+FXkdpJf7PofC7kUua5oUXlh0eiccBKwn3j8n3suLnLsigJ/UD4rjKIGKrfodAud4XhsPdg0+XVNihDa6rSMH5G6TTAYQjukCLT2TlCPFiyNSJvfjH1+h2uE93vWBzsjkLzlWMoAr00uAwlYJgotoQ9v2ECqfZ7mhAJCwSoRdqmir9Xvj5GSj3qRc953bbye8ZJoEMXDt9N2GNwV3/3XFtrc/fQuq7cRj2OFZuDZ/Ch0Z2MQGbXoG0gqRfntoGFBDcx4w+rifburPnIDS4V4H5DpW/lohGG6tWLSa4ynfF5utnUowpy9pT8RCBmrvZkLfSfqF4J/rh7HzfyhMpDGqv5hcs+RSJZQiLN8sdcSRvz2aKoaAxXi7U0IfUAUluJ9fPD5WRmUbV3FwAxEjjuRMKYabelam7lvKI6vyf6lWt1oyI4EKd7M33JfeRbcJ9BwM4SDbgxHCSeSI4AIiqFs1l35ZVfDlz8yLhHt33ZWSBrWoGw3e83rUJPc/I9Uxu4xX3WKCZ+tXKD8YA64rdeoCDra/2Ad2Rm4doFgdWmW2I23jKNx/CtKiq3YXcWmiBCaL6IQ=
app: opev-webgen-dev
on:
repo: fossasia/open-event-wsgen
branch:
- master
- development
node: 8.11.1
condition: $TESTFOLDER = test/serverTest.js

branches:
only:
- master
- development

0 comments on commit c147f7b

Please sign in to comment.