AMD64
no language set
Git
kabanero-io/kabanero-website:.travis.yml@3f48786
language: minimal
before_install:
- docker pull kabanerobuild/website-travis:latest
install:
- docker build --cache-from kabanerobuild/website-travis:latest -t website-travis -f travis/Dockerfile .
stages:
- name: Running tests
if: (type IN (pull_request, cron))
- name: Deploy
if: type IN (api)
jobs:
include:
- stage: "Running tests"
name: "Running lint testing and building website with Jekyll"
script:
- ./travis/docker_run.sh "./node_modules/.bin/eslint src/main/content/_assets/js/*.js"
- ./travis/docker_run.sh ./scripts/build_jekyll_maven.sh
- stage: "Deploy"
name: "Deploy website"
script:
- ./travis/docker_run.sh ./travis/travis_ibmcloud_cf_push.sh
Build Config
{
"os": [
"linux"
],
"dist": "trusty",
"sudo": false,
"cache": {
"bundler": true
},
"script": [
"bundle exec rspec spec"
],
"language": "ruby"
}