Forgot about Gitlab CI, removed Jenkins
This commit is contained in:
parent
82f834ee4a
commit
ef7cde242e
|
@ -1,7 +1,7 @@
|
|||
image: php:7.2-cli
|
||||
before_script:
|
||||
- apt-get update
|
||||
- apt-get install --no-install-recommends -y unzip pandoc
|
||||
- apt-get install --no-install-recommends -y git curl unzip pandoc
|
||||
- '[[ ! -f composer.phar ]] && curl -sS https://getcomposer.org/installer | php --'
|
||||
- php ./composer.phar install
|
||||
|
||||
|
|
|
@ -1,26 +0,0 @@
|
|||
#!groovy
|
||||
|
||||
node {
|
||||
currentBuild.result = "SUCCESS";
|
||||
try {
|
||||
stage('Checkout'){
|
||||
checkout scm
|
||||
sh 'composer install';
|
||||
}
|
||||
stage('Test'){
|
||||
sh './vendor/bin/phpunit tests/';
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE";
|
||||
sh 'rm -rf build dist';
|
||||
|
||||
emailext (
|
||||
subject: "FAILURE: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]'",
|
||||
body: """<p>FAILED: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]':</p>
|
||||
<p>Check console output at "<a href="${env.BUILD_URL}">${env.JOB_NAME} [${env.BUILD_NUMBER}]</a>"</p>""",
|
||||
recipientProviders: [developers()]
|
||||
)
|
||||
throw err
|
||||
}
|
||||
}
|
|
@ -1,6 +1,8 @@
|
|||
# A set of utilities for tracking text-based game releases
|
||||
Originally a parser for Russian Interactive Fiction, now it's much more than that.
|
||||
|
||||
[![pipeline status](https://gitlab.com/ifiction/news-script/badges/master/pipeline.svg)](https://gitlab.com/ifiction/news-script/commits/master)
|
||||
|
||||
[Русская версия readme](README.rus.md)
|
||||
|
||||
These are executable PHP scripts that serve different functions but share the code.
|
||||
|
|
Reference in New Issue