Skip to content

Commit

Permalink
Added default .env file for CI servers + rollbar service to cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianSkierniewski committed May 5, 2017
1 parent ba3dcc8 commit 03a9b01
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ test:
- postgres:9.6-alpine
- redis:3-alpine
script:
- cp .env.example .env
- composer install --prefer-dist --no-interaction --no-suggest --no-progress
- "php vendor/bin/codecept run -c codeception.yml -o \"settings: lint: false\" --env platform"
- npm -s install
Expand All @@ -37,6 +38,7 @@ build:
services:
- docker:1.12.5-dind
script:
- cp .env.example .env
- composer install --prefer-dist --no-interaction --no-dev --no-suggest --no-progress --optimize-autoloader
- npm -s install
- npm -s run production
Expand Down
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ before_install:
- sudo mv docker-compose /usr/local/bin

before_script:
- cp .env.example .env
- docker version
- docker-compose version
- docker-compose up -d
Expand Down
5 changes: 5 additions & 0 deletions config/services.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,9 @@
'client_secret' => env('OAUTH_TWITTER_CLIENT_SECRET'),
],

'rollbar' => [
'access_token' => env('ROLLBAR_TOKEN'),
'level' => env('ROLLBAR_LEVEL'),
],

];

0 comments on commit 03a9b01

Please sign in to comment.