Skip to content

Cheatsheet Deploy and Test in Pipeline for any language

cheatsheet any language for pipeline continous integration

Typescript vscode extension

build:

npm install
npm run compile

test

node ./node_modules/vscode/bin/test

Jekyll

build:

gem install bundler -v 1.17.3
bundle install

test

export MEDIUM_USERNAME=xxx # optional when need export params
bundle exec jekyll build

Chrome extension

build

yarn install

install

yarn test

Dotnet core

build

dotnet build

test

cd {project_name}.Test
dotnet test

Laravel

build

sudo apt-get install python-software-properties
sudo add-apt-repository ppa:ondrej/php
sudo apt update
sudo apt install -y php7.2
sudo apt-get install php7.2-mbstring
sudo apt-get install php7.2-xml
curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer
sudo phpenmod mbstring
mkdir bootstrap/cache
sudo chmod 777 -R bootstrap/cache
composer install

test

phpunit
infinity deploy

Leave a Reply

Your email address will not be published. Required fields are marked *