Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
iv
gitlab-ce
Commits
a91e4a90
Commit
a91e4a90
authored
Jul 06, 2016
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add and update .gitignore & .gitlab-ci.yml templates for 8.10
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
cfd5870b
Changes
25
Show whitespace changes
Inline
Side-by-side
Showing
25 changed files
with
526 additions
and
24 deletions
+526
-24
vendor/gitignore/Android.gitignore
vendor/gitignore/Android.gitignore
+1
-0
vendor/gitignore/C++.gitignore
vendor/gitignore/C++.gitignore
+3
-0
vendor/gitignore/C.gitignore
vendor/gitignore/C.gitignore
+3
-0
vendor/gitignore/Gradle.gitignore
vendor/gitignore/Gradle.gitignore
+1
-1
vendor/gitignore/LICENSE
vendor/gitignore/LICENSE
+121
-19
vendor/gitignore/Node.gitignore
vendor/gitignore/Node.gitignore
+1
-0
vendor/gitignore/TeX.gitignore
vendor/gitignore/TeX.gitignore
+3
-0
vendor/gitlab-ci-yml/Maven.gitlab-ci.yml
vendor/gitlab-ci-yml/Maven.gitlab-ci.yml
+102
-0
vendor/gitlab-ci-yml/Pages/Brunch.gitlab-ci.yml
vendor/gitlab-ci-yml/Pages/Brunch.gitlab-ci.yml
+16
-0
vendor/gitlab-ci-yml/Pages/Doxygen.gitlab-ci.yml
vendor/gitlab-ci-yml/Pages/Doxygen.gitlab-ci.yml
+13
-0
vendor/gitlab-ci-yml/Pages/HTML.gitlab-ci.yml
vendor/gitlab-ci-yml/Pages/HTML.gitlab-ci.yml
+12
-0
vendor/gitlab-ci-yml/Pages/Harp.gitlab-ci.yml
vendor/gitlab-ci-yml/Pages/Harp.gitlab-ci.yml
+16
-0
vendor/gitlab-ci-yml/Pages/Hexo.gitlab-ci.yml
vendor/gitlab-ci-yml/Pages/Hexo.gitlab-ci.yml
+25
-0
vendor/gitlab-ci-yml/Pages/Hugo.gitlab-ci.yml
vendor/gitlab-ci-yml/Pages/Hugo.gitlab-ci.yml
+11
-0
vendor/gitlab-ci-yml/Pages/Hyde.gitlab-ci.yml
vendor/gitlab-ci-yml/Pages/Hyde.gitlab-ci.yml
+25
-0
vendor/gitlab-ci-yml/Pages/Jekyll.gitlab-ci.yml
vendor/gitlab-ci-yml/Pages/Jekyll.gitlab-ci.yml
+24
-0
vendor/gitlab-ci-yml/Pages/Lektor.gitlab-ci.yml
vendor/gitlab-ci-yml/Pages/Lektor.gitlab-ci.yml
+12
-0
vendor/gitlab-ci-yml/Pages/Metalsmith.gitlab-ci.yml
vendor/gitlab-ci-yml/Pages/Metalsmith.gitlab-ci.yml
+17
-0
vendor/gitlab-ci-yml/Pages/Middleman.gitlab-ci.yml
vendor/gitlab-ci-yml/Pages/Middleman.gitlab-ci.yml
+27
-0
vendor/gitlab-ci-yml/Pages/Nanoc.gitlab-ci.yml
vendor/gitlab-ci-yml/Pages/Nanoc.gitlab-ci.yml
+12
-0
vendor/gitlab-ci-yml/Pages/Octopress.gitlab-ci.yml
vendor/gitlab-ci-yml/Pages/Octopress.gitlab-ci.yml
+15
-0
vendor/gitlab-ci-yml/Pages/Pelican.gitlab-ci.yml
vendor/gitlab-ci-yml/Pages/Pelican.gitlab-ci.yml
+10
-0
vendor/gitlab-ci-yml/Ruby.gitlab-ci.yml
vendor/gitlab-ci-yml/Ruby.gitlab-ci.yml
+11
-4
vendor/gitlab-ci-yml/Rust.gitlab-ci.yml
vendor/gitlab-ci-yml/Rust.gitlab-ci.yml
+23
-0
vendor/gitlab-ci-yml/Scala.gitlab-ci.yml
vendor/gitlab-ci-yml/Scala.gitlab-ci.yml
+22
-0
No files found.
vendor/gitignore/Android.gitignore
View file @
a91e4a90
...
@@ -35,6 +35,7 @@ captures/
...
@@ -35,6 +35,7 @@ captures/
# Intellij
# Intellij
*.iml
*.iml
.idea/workspace.xml
.idea/workspace.xml
.idea/libraries
# Keystore files
# Keystore files
*.jks
*.jks
vendor/gitignore/C++.gitignore
View file @
a91e4a90
# Prerequisites
*.d
# Compiled Object files
# Compiled Object files
*.slo
*.slo
*.lo
*.lo
...
...
vendor/gitignore/C.gitignore
View file @
a91e4a90
# Prerequisites
*.d
# Object files
# Object files
*.o
*.o
*.ko
*.ko
...
...
vendor/gitignore/Gradle.gitignore
View file @
a91e4a90
.gradle
.gradle
build/
/
build/
# Ignore Gradle GUI config
# Ignore Gradle GUI config
gradle-app.setting
gradle-app.setting
...
...
vendor/gitignore/LICENSE
View file @
a91e4a90
Copyright (c) 2016 GitHub, Inc.
Creative Commons Legal Code
Permission is hereby granted, free of charge, to any person obtaining a
CC0 1.0 Universal
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
the rights to use, copy, modify, merge, publish, distribute, sublicense,
LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
and/or sell copies of the Software, and to permit persons to whom the
ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
Software is furnished to do so, subject to the following conditions:
INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS
The above copyright notice and this permission notice shall be included in
PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM
all copies or substantial portions of the Software.
THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED
HEREUNDER.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
Statement of Purpose
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
The laws of most jurisdictions throughout the world automatically confer
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
exclusive Copyright and Related Rights (defined below) upon the creator
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
and subsequent owner(s) (each and all, an "owner") of an original work of
DEALINGS IN THE SOFTWARE.
authorship and/or a database (each, a "Work").
Certain owners wish to permanently relinquish those rights to a Work for
the purpose of contributing to a commons of creative, cultural and
scientific works ("Commons") that the public can reliably and without fear
of later claims of infringement build upon, modify, incorporate in other
works, reuse and redistribute as freely as possible in any form whatsoever
and for any purposes, including without limitation commercial purposes.
These owners may contribute to the Commons to promote the ideal of a free
culture and the further production of creative, cultural and scientific
works, or to gain reputation or greater distribution for their Work in
part through the use and efforts of others.
For these and/or other purposes and motivations, and without any
expectation of additional consideration or compensation, the person
associating CC0 with a Work (the "Affirmer"), to the extent that he or she
is an owner of Copyright and Related Rights in the Work, voluntarily
elects to apply CC0 to the Work and publicly distribute the Work under its
terms, with knowledge of his or her Copyright and Related Rights in the
Work and the meaning and intended legal effect of CC0 on those rights.
1. Copyright and Related Rights. A Work made available under CC0 may be
protected by copyright and related or neighboring rights ("Copyright and
Related Rights"). Copyright and Related Rights include, but are not
limited to, the following:
i. the right to reproduce, adapt, distribute, perform, display,
communicate, and translate a Work;
ii. moral rights retained by the original author(s) and/or performer(s);
iii. publicity and privacy rights pertaining to a person's image or
likeness depicted in a Work;
iv. rights protecting against unfair competition in regards to a Work,
subject to the limitations in paragraph 4(a), below;
v. rights protecting the extraction, dissemination, use and reuse of data
in a Work;
vi. database rights (such as those arising under Directive 96/9/EC of the
European Parliament and of the Council of 11 March 1996 on the legal
protection of databases, and under any national implementation
thereof, including any amended or successor version of such
directive); and
vii. other similar, equivalent or corresponding rights throughout the
world based on applicable law or treaty, and any national
implementations thereof.
2. Waiver. To the greatest extent permitted by, but not in contravention
of, applicable law, Affirmer hereby overtly, fully, permanently,
irrevocably and unconditionally waives, abandons, and surrenders all of
Affirmer's Copyright and Related Rights and associated claims and causes
of action, whether now known or unknown (including existing as well as
future claims and causes of action), in the Work (i) in all territories
worldwide, (ii) for the maximum duration provided by applicable law or
treaty (including future time extensions), (iii) in any current or future
medium and for any number of copies, and (iv) for any purpose whatsoever,
including without limitation commercial, advertising or promotional
purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each
member of the public at large and to the detriment of Affirmer's heirs and
successors, fully intending that such Waiver shall not be subject to
revocation, rescission, cancellation, termination, or any other legal or
equitable action to disrupt the quiet enjoyment of the Work by the public
as contemplated by Affirmer's express Statement of Purpose.
3. Public License Fallback. Should any part of the Waiver for any reason
be judged legally invalid or ineffective under applicable law, then the
Waiver shall be preserved to the maximum extent permitted taking into
account Affirmer's express Statement of Purpose. In addition, to the
extent the Waiver is so judged Affirmer hereby grants to each affected
person a royalty-free, non transferable, non sublicensable, non exclusive,
irrevocable and unconditional license to exercise Affirmer's Copyright and
Related Rights in the Work (i) in all territories worldwide, (ii) for the
maximum duration provided by applicable law or treaty (including future
time extensions), (iii) in any current or future medium and for any number
of copies, and (iv) for any purpose whatsoever, including without
limitation commercial, advertising or promotional purposes (the
"License"). The License shall be deemed effective as of the date CC0 was
applied by Affirmer to the Work. Should any part of the License for any
reason be judged legally invalid or ineffective under applicable law, such
partial invalidity or ineffectiveness shall not invalidate the remainder
of the License, and in such case Affirmer hereby affirms that he or she
will not (i) exercise any of his or her remaining Copyright and Related
Rights in the Work or (ii) assert any associated claims and causes of
action with respect to the Work, in either case contrary to Affirmer's
express Statement of Purpose.
4. Limitations and Disclaimers.
a. No trademark or patent rights held by Affirmer are waived, abandoned,
surrendered, licensed or otherwise affected by this document.
b. Affirmer offers the Work as-is and makes no representations or
warranties of any kind concerning the Work, express, implied,
statutory or otherwise, including without limitation warranties of
title, merchantability, fitness for a particular purpose, non
infringement, or the absence of latent or other defects, accuracy, or
the present or absence of errors, whether or not discoverable, all to
the greatest extent permissible under applicable law.
c. Affirmer disclaims responsibility for clearing rights of other persons
that may apply to the Work or any use thereof, including without
limitation any person's Copyright and Related Rights in the Work.
Further, Affirmer disclaims responsibility for obtaining any necessary
consents, permissions or other rights required for any use of the
Work.
d. Affirmer understands and acknowledges that Creative Commons is not a
party to this document and has no duty or obligation with respect to
this CC0 or use of the Work.
vendor/gitignore/Node.gitignore
View file @
a91e4a90
...
@@ -7,6 +7,7 @@ npm-debug.log*
...
@@ -7,6 +7,7 @@ npm-debug.log*
pids
pids
*.pid
*.pid
*.seed
*.seed
*.pid.lock
# Directory for instrumented libs generated by jscoverage/JSCover
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
lib-cov
...
...
vendor/gitignore/TeX.gitignore
View file @
a91e4a90
...
@@ -152,6 +152,9 @@ pythontex-files-*/
...
@@ -152,6 +152,9 @@ pythontex-files-*/
# todonotes
# todonotes
*.tdo
*.tdo
# easy-todo
*.lod
# xindy
# xindy
*.xdy
*.xdy
...
...
vendor/gitlab-ci-yml/Maven.gitlab-ci.yml
0 → 100644
View file @
a91e4a90
---
# Build JAVA applications using Apache Maven (http://maven.apache.org)
# For docker image tags see https://hub.docker.com/_/maven/
#
# For general lifecycle information see https://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html
#
# This template will build and test your projects as well as create the documentation.
#
# * Caches downloaded dependencies and plugins between invocation.
# * Does only verify merge requests but deploy built artifacts of the
# master branch.
# * Shows how to use multiple jobs in test stage for verifying functionality
# with multiple JDKs.
# * Uses site:stage to collect the documentation for multi-module projects.
# * Publishes the documentation for `master` branch.
variables
:
# This will supress any download for dependencies and plugins or upload messages which would clutter the console log.
# `showDateTime` will show the passed time in milliseconds. You need to specify `--batch-mode` to make this work.
MAVEN_OPTS
:
"
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=WARN
-Dorg.slf4j.simpleLogger.showDateTime=true
-Djava.awt.headless=true"
# As of Maven 3.3.0 instead of this you may define these options in `.mvn/maven.config` so the same config is used
# when running from the command line.
# `installAtEnd` and `deployAtEnd`are only effective with recent version of the corresponding plugins.
MAVEN_CLI_OPTS
:
"
--batch-mode
--errors
--fail-at-end
--show-version
-DinstallAtEnd=true
-DdeployAtEnd=true"
# Cache downloaded dependencies and plugins between builds.
cache
:
paths
:
-
/root/.m2/repository/
# This will only validate and compile stuff and run e.g. maven-enforcer-plugin.
# Because some enforcer rules might check dependency convergence and class duplications
# we use `test-compile` here instead of `validate`, so the correct classpath is picked up.
.validate
:
&validate
stage
:
build
script
:
-
'
mvn
$MAVEN_CLI_OPTS
test-compile'
# For merge requests do not `deploy` but only run `verify`.
# See https://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html
.verify
:
&verify
stage
:
test
script
:
-
'
mvn
$MAVEN_CLI_OPTS
verify
site
site:stage'
except
:
-
master
# Validate merge requests using JDK7
validate:jdk7:
<<
:
*validate
image
:
maven:3.3.9-jdk-7
# Validate merge requests using JDK8
validate:jdk8:
<<
:
*validate
image
:
maven:3.3.9-jdk-8
# Verify merge requests using JDK7
verify:jdk7:
<<
:
*verify
image
:
maven:3.3.9-jdk-7
# Verify merge requests using JDK8
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.
# Mount your `settings.xml` as `/root/.m2/settings.xml` which holds your secrets.
# See https://maven.apache.org/settings.html
deploy:jdk8:
# Use stage test here, so the pages job may later pickup the created site.
stage
:
test
script
:
-
'
mvn
$MAVEN_CLI_OPTS
deploy
site
site:stage'
only
:
-
master
# Archive up the built documentation site.
artifacts
:
paths
:
-
target/staging
image
:
maven:3.3.9-jdk-8
pages
:
image
:
busybox:latest
stage
:
deploy
script
:
# Because Maven appends the artifactId automatically to the staging path if you did define a parent pom,
# you might need to use `mv target/staging/YOUR_ARTIFACT_ID public` instead.
-
mv target/staging public
dependencies
:
-
deploy:jdk8
artifacts
:
paths
:
-
public
only
:
-
master
vendor/gitlab-ci-yml/Pages/Brunch.gitlab-ci.yml
0 → 100644
View file @
a91e4a90
# Full project: https://gitlab.com/pages/brunch
image
:
node:4.2.2
pages
:
cache
:
paths
:
-
node_modules/
script
:
-
npm install -g brunch
-
brunch build --production
artifacts
:
paths
:
-
public
only
:
-
master
vendor/gitlab-ci-yml/Pages/Doxygen.gitlab-ci.yml
0 → 100644
View file @
a91e4a90
# Full project: https://gitlab.com/pages/doxygen
image
:
alpine
pages
:
script
:
-
apk update && apk add doxygen
-
doxygen doxygen/Doxyfile
-
mv doxygen/documentation/html/ public/
artifacts
:
paths
:
-
public
only
:
-
master
vendor/gitlab-ci-yml/Pages/HTML.gitlab-ci.yml
0 → 100644
View file @
a91e4a90
# Full project: https://gitlab.com/pages/plain-html
pages
:
stage
:
deploy
script
:
-
mkdir .public
-
cp -r * .public
-
mv .public public
artifacts
:
paths
:
-
public
only
:
-
master
vendor/gitlab-ci-yml/Pages/Harp.gitlab-ci.yml
0 → 100644
View file @
a91e4a90
# Full project: https://gitlab.com/pages/harp
image
:
node:4.2.2
pages
:
cache
:
paths
:
-
node_modules
script
:
-
npm install -g harp
-
harp compile ./ public
artifacts
:
paths
:
-
public
only
:
-
master
vendor/gitlab-ci-yml/Pages/Hexo.gitlab-ci.yml
0 → 100644
View file @
a91e4a90
# Full project: https://gitlab.com/pages/hexo
image
:
python:2.7
cache
:
paths
:
-
vendor/
test
:
stage
:
test
script
:
-
pip install hyde
-
hyde gen
except
:
-
master
pages
:
stage
:
deploy
script
:
-
pip install hyde
-
hyde gen -d public
artifacts
:
paths
:
-
public
only
:
-
master
vendor/gitlab-ci-yml/Pages/Hugo.gitlab-ci.yml
0 → 100644
View file @
a91e4a90
# Full project: https://gitlab.com/pages/hugo
image
:
publysher/hugo
pages
:
script
:
-
hugo
artifacts
:
paths
:
-
public
only
:
-
master
vendor/gitlab-ci-yml/Pages/Hyde.gitlab-ci.yml
0 → 100644
View file @
a91e4a90
# Full project: https://gitlab.com/pages/hyde
image
:
python:2.7
cache
:
paths
:
-
vendor/
test
:
stage
:
test
script
:
-
pip install hyde
-
hyde gen
except
:
-
master
pages
:
stage
:
deploy
script
:
-
pip install hyde
-
hyde gen -d public
artifacts
:
paths
:
-
public
only
:
-
master
vendor/gitlab-ci-yml/Pages/Jekyll.gitlab-ci.yml
0 → 100644
View file @
a91e4a90
# Full project: https://gitlab.com/pages/jekyll
image
:
ruby:2.3
test
:
stage
:
test
script
:
-
gem install jekyll
-
jekyll build -d test
artifacts
:
paths
:
-
test
except
:
-
master
pages
:
stage
:
deploy
script
:
-
gem install jekyll
-
jekyll build -d public
artifacts
:
paths
:
-
public
only
:
-
master
vendor/gitlab-ci-yml/Pages/Lektor.gitlab-ci.yml
0 → 100644
View file @
a91e4a90
# Full project: https://gitlab.com/pages/hyde
image
:
python:2.7
pages
:
script
:
-
pip install lektor
-
lektor build --output-path public
artifacts
:
paths
:
-
public
only
:
-
master
vendor/gitlab-ci-yml/Pages/Metalsmith.gitlab-ci.yml
0 → 100644
View file @
a91e4a90
# Full project: https://gitlab.com/pages/metalsmith
image
:
node:4.2.2
pages
:
cache
:
paths
:
-
node_modules/
script
:
-
npm install -g metalsmith
-
npm install
-
make build
artifacts
:
paths
:
-
public
only
:
-
master
vendor/gitlab-ci-yml/Pages/Middleman.gitlab-ci.yml
0 → 100644
View file @
a91e4a90
# Full project: https://gitlab.com/pages/middleman
image
:
ruby:2.3
cache
:
paths
:
-
vendor
test
:
script
:
-
apt-get update -yqqq
-
apt-get install -y nodejs
-
bundle install --path vendor
-
bundle exec middleman build
except
:
-
master
pages
:
script
:
-
apt-get update -yqqq
-
apt-get install -y nodejs
-
bundle install --path vendor
-
bundle exec middleman build
artifacts
:
paths
:
-
public
only
:
-
master
vendor/gitlab-ci-yml/Pages/Nanoc.gitlab-ci.yml
0 → 100644
View file @
a91e4a90
# Full project: https://gitlab.com/pages/nanoc
image
:
ruby:2.3
pages
:
script
:
-
bundle install -j4
-
nanoc
artifacts
:
paths
:
-
public
only
:
-
master
vendor/gitlab-ci-yml/Pages/Octopress.gitlab-ci.yml
0 → 100644
View file @
a91e4a90
# Full project: https://gitlab.com/pages/octopress
image
:
ruby:2.3
pages
:
script
:
-
apt-get update -qq && apt-get install -qq nodejs
-
bundle install -j4
-
bundle exec rake generate
-
mv public .public
-
mv .public/octopress public
artifacts
:
paths
:
-
public
only
:
-
master
vendor/gitlab-ci-yml/Pages/Pelican.gitlab-ci.yml
0 → 100644
View file @
a91e4a90
# Full project: https://gitlab.com/pages/pelican
image
:
python:2.7-alpine
pages
:
script
:
-
pip install -r requirements.txt
-
pelican -s publishconf.py
artifacts
:
paths
:
-
public/
vendor/gitlab-ci-yml/Ruby.gitlab-ci.yml
View file @
a91e4a90
...
@@ -10,12 +10,19 @@ services:
...
@@ -10,12 +10,19 @@ services:
-
redis:latest
-
redis:latest
-
postgres:latest
-
postgres:latest
# Cache gems in between builds
cache
:
paths
:
-
vendor/ruby
# This is a basic example for a gem or script which doesn't use
# This is a basic example for a gem or script which doesn't use
# services such as redis or postgres
# services such as redis or postgres
before_script
:
before_script
:
-
gem install bundler
# Bundler is not installed with the image
-
ruby -v
# Print out ruby version for debugging
-
bundle install -j $(nproc)
# Install dependencies
-
gem install bundler --no-ri --no-rdoc
# Bundler is not installed with the image
-
bundle install -j $(nproc) --path vendor
# Install dependencies into ./vendor/ruby
# Optional - Delete if not using `rubocop`
rubocop
:
rubocop
:
script
:
script
:
-
rubocop
-
rubocop
...
@@ -26,5 +33,5 @@ rspec:
...
@@ -26,5 +33,5 @@ rspec:
rails
:
rails
:
script
:
script
:
-
rake db:migrate
-
bundle exec
rake db:migrate
-
rspec spec
-
bundle exec rake test
vendor/gitlab-ci-yml/Rust.gitlab-ci.yml
0 → 100644
View file @
a91e4a90
# Unofficial language image. Look for the different tagged releases at:
# https://hub.docker.com/r/scorpil/rust/tags/
image
:
"
scorpil/rust:stable"
# Optional: Pick zero or more services to be used on all builds.
# Only needed when using a docker container to run your tests in.
# Check out: http://docs.gitlab.com/ce/ci/docker/using_docker_images.html#what-is-service
#services:
# - mysql:latest
# - redis:latest
# - postgres:latest
# Optional: Install a C compiler, cmake and git into the container.
# You will often need this when you (or any of your dependencies) depends on C code.
#before_script:
#- apt-get update -yqq
#- apt-get install -yqq --no-install-recommends build-essential
# Use cargo to test the project
test:cargo:
script
:
-
rustc --version && cargo --version
# Print version info for debugging
-
cargo test --verbose --jobs 1 --release
# Don't paralize to make errors more readable
vendor/gitlab-ci-yml/Scala.gitlab-ci.yml
0 → 100644
View file @
a91e4a90
# Official Java image. Look for the different tagged releases at
# https://hub.docker.com/r/library/java/tags/ . A Java image is not required
# but an image with a JVM speeds up the build a bit.
image
:
java:8
before_script
:
# Enable the usage of sources over https
-
apt-get update -yqq
-
apt-get install apt-transport-https -yqq
# Add keyserver for SBT
-
echo "deb http://dl.bintray.com/sbt/debian /" | tee -a /etc/apt/sources.list.d/sbt.list
-
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 642AC823
# Install SBT
-
apt-get update -yqq
-
apt-get install sbt -yqq
# Log the sbt version
-
sbt sbt-version
test
:
script
:
# Execute your project's tests
-
sbt clean test
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment