Commit 3527e3e4 authored by Matija Čupić's avatar Matija Čupić

Tidy up CI templates

Tidies up CI templates to have better formatting.

* Removes redundant whitespace
* Removes redundant newlines
parent 480303b5
......@@ -118,4 +118,3 @@ promoteProduction:
- master
script:
- bundle exec fastlane promote_beta_to_production
\ No newline at end of file
......@@ -23,7 +23,6 @@ build:
- build
- .gradle
test:
stage: test
script: gradle check
......@@ -33,4 +32,3 @@ test:
paths:
- build
- .gradle
......@@ -24,31 +24,23 @@ cache:
before_script:
# Update packages
- apt-get update -yqq
# Prep for Node
- apt-get install gnupg -yqq
# Upgrade to Node 8
- curl -sL https://deb.nodesource.com/setup_8.x | bash -
# Install dependencies
- apt-get install git nodejs libcurl4-gnutls-dev libicu-dev libmcrypt-dev libvpx-dev libjpeg-dev libpng-dev libxpm-dev zlib1g-dev libfreetype6-dev libxml2-dev libexpat1-dev libbz2-dev libgmp3-dev libldap2-dev unixodbc-dev libpq-dev libsqlite3-dev libaspell-dev libsnmp-dev libpcre3-dev libtidy-dev -yqq
# Install php extensions
- docker-php-ext-install mbstring pdo_mysql curl json intl gd xml zip bz2 opcache
# Install & enable Xdebug for code coverage reports
- pecl install xdebug
- docker-php-ext-enable xdebug
# Install Composer and project dependencies.
- curl -sS https://getcomposer.org/installer | php
- php composer.phar install
# Install Node dependencies.
# comment this out if you don't have a node dependency
- npm install
# Copy over testing configuration.
# Don't forget to set the database config in .env.testing correctly
# DB_HOST=mysql
......@@ -56,20 +48,16 @@ before_script:
# DB_USERNAME=root
# DB_PASSWORD=secret
- cp .env.testing .env
# Run npm build
# comment this out if you don't have a frontend build
# you can change this to to your frontend building script like
# npm run build
- npm run dev
# Generate an application key. Re-cache.
- php artisan key:generate
- php artisan config:cache
# Run database migrations.
- php artisan migrate
# Run database seed
- php artisan db:seed
......@@ -77,7 +65,6 @@ test:
script:
# run laravel tests
- php vendor/bin/phpunit --coverage-text --colors=never
# run frontend tests
# if you have any task for testing frontend
# set it in your package.json script
......
......@@ -66,7 +66,6 @@ verify:jdk8:
<<: *verify
image: maven:3.3.9-jdk-8
# For `master` branch run `mvn deploy` automatically.
# Here you need to decide whether you want to use JDK7 or 8.
# To get this working you need to define a volume while configuring your gitlab-ci-multi-runner.
......@@ -85,7 +84,6 @@ deploy:jdk8:
- target/staging
image: maven:3.3.9-jdk-8
pages:
image: busybox:latest
stage: deploy
......
......@@ -5,7 +5,6 @@ pages:
cache:
paths:
- node_modules/
script:
- npm install -g brunch
- brunch build --production
......
......@@ -5,7 +5,6 @@ pages:
cache:
paths:
- node_modules
script:
- npm install -g harp
- harp compile ./ public
......
......@@ -13,7 +13,6 @@ image: java:8
variables:
JBAKE_VERSION: 2.5.1
# We use SDKMan as tool for managing versions
before_script:
- apt-get update -qq && apt-get install -y -qq unzip zip
......
......@@ -13,22 +13,17 @@ cache:
before_script:
# Update packages
- apt-get update -yqq
# Install dependencies
- apt-get install -yqq gnupg zlib1g-dev libpng-dev
# Install Node 8
- curl -sL https://deb.nodesource.com/setup_8.x | bash -
- apt-get install -yqq nodejs
# Install php extensions
- docker-php-ext-install zip
# Install Composer and project dependencies.
# Install Composer and project dependencies
- curl -sS https://getcomposer.org/installer | php
- php composer.phar install
# Install Node dependencies.
# Install Node dependencies
- npm install
pages:
......
......@@ -5,7 +5,6 @@ pages:
cache:
paths:
- node_modules/
script:
- npm install -g metalsmith
- npm install
......
......@@ -26,7 +26,6 @@ variables:
MSI_RELEASE_FOLDER: 'Setup\bin\Release'
TEST_FOLDER: 'Tests\bin\Release'
DEPLOY_FOLDER: 'P:\Projects\YourApp\Builds'
NUGET_PATH: 'C:\NuGet\nuget.exe'
MSBUILD_PATH: 'C:\Program Files (x86)\MSBuild\14.0\Bin\msbuild.exe'
NUNIT_PATH: 'C:\Program Files (x86)\NUnit.org\nunit-console\nunit3-console.exe'
......@@ -84,4 +83,3 @@ deploy_job:
dependencies:
- build_job
- test_job
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment