Instruction stringlengths 14 778 | input_code stringlengths 0 4.24k | output_code stringlengths 1 5.44k |
|---|---|---|
Replace rosinit with unaliased version. | machine:
services:
- docker
python:
version: "2.7"
checkout:
post:
- mkdir ~/catkin_ws
- mkdir ~/catkin_ws/src
- mkdir ~/catkin_ws/src/pyrostester
- PYROS_DIR=$PWD
- cd ~/catkin_ws/src/pyrostester
dependencies:
pre:
- sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
- sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net --recv-key 0xB01FA116
- sudo apt-get update -qq
- sudo apt-get install -y python-catkin-pkg python-rosdep ros-indigo-catkin ros-indigo-ros ros-indigo-roslaunch build-essential
- pip install --upgrade pip
post:
- pip install -e $PYROS_DIR
- cp -r $PYROS_DIR/test .
test:
pre:
- rosinit
- rosdevel
| machine:
services:
- docker
python:
version: "2.7"
checkout:
post:
- mkdir ~/catkin_ws
- mkdir ~/catkin_ws/src
- mkdir ~/catkin_ws/src/pyrostester
- PYROS_DIR=$PWD
- cd ~/catkin_ws/src/pyrostester
dependencies:
pre:
- sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
- sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net --recv-key 0xB01FA116
- sudo apt-get update -qq
- sudo apt-get install -y python-catkin-pkg python-rosdep ros-indigo-catkin ros-indigo-ros ros-indigo-roslaunch build-essential
- pip install --upgrade pip
post:
- pip install -e $PYROS_DIR
- cp -r $PYROS_DIR/test .
test:
pre:
- source /opt/ros/indigo/setup.sh
#- rosdevel
|
Improve script to prevent continuous AppVeyor notifications | version: 1.0.{build}
pull_requests:
do_not_increment_build_number: true
skip_tags: true
image: Visual Studio 2017
clone_depth: 1
install:
- ps: .\install-vsix-appveyor.ps1
build_script:
- ps: >-
nuget restore targets\os\win32\nanoCLR.sln
msbuild targets\os\win32\nanoCLR.sln /p:Configuration=Release /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
notifications:
- provider: Slack
auth_token:
secure: 2tqAJTTbN2dm24Vrwo5TXun3Vxc34R5G9l7o3pK3xEuKZAzxx3nbP2yGkMI/kl3+NxHXknjBfZnkhZC5eLYBHb+jO7YVUZwPYOfC/ZGy5HU=
channel: '#build-monitor'
on_build_status_changed: true
| version: 1.0.{build}
pull_requests:
do_not_increment_build_number: true
skip_tags: true
image: Visual Studio 2017
clone_depth: 1
install:
- ps: .\install-vsix-appveyor.ps1
build_script:
- ps: >-
nuget restore targets\os\win32\nanoCLR.sln
msbuild targets\os\win32\nanoCLR.sln /p:Configuration=Release /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
notifications:
- provider: Slack
auth_token:
secure: 2tqAJTTbN2dm24Vrwo5TXun3Vxc34R5G9l7o3pK3xEuKZAzxx3nbP2yGkMI/kl3+NxHXknjBfZnkhZC5eLYBHb+jO7YVUZwPYOfC/ZGy5HU=
channel: '#build-monitor'
on_build_status_changed: true
on_build_success: false
on_build_failure: false
|
Switch to temurin as adopt is now EOL | name: "Build"
on: [push, pull_request, workflow_dispatch]
jobs:
build:
runs-on: ubuntu-18.04
strategy:
fail-fast: false
matrix:
java: [ 11, 16 ]
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Install JDK ${{ matrix.java }}
uses: actions/setup-java@v2
with:
java-version: ${{ matrix.java }}
distribution: 'adopt'
- name: Build & Test
run: mvn clean verify
- name: Javadoc etc
run: mvn clean verify -Prelease -Dgpg.skip -DskipTests
- name: RAT check
run: mvn clean -Prelease apache-rat:check
| name: "Build"
on: [push, pull_request, workflow_dispatch]
jobs:
build:
runs-on: ubuntu-18.04
strategy:
fail-fast: false
matrix:
java: [ 11, 16 ]
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Install JDK ${{ matrix.java }}
uses: actions/setup-java@v2
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
- name: Build & Test
run: mvn clean verify
- name: Javadoc etc
run: mvn clean verify -Prelease -Dgpg.skip -DskipTests
- name: RAT check
run: mvn clean -Prelease apache-rat:check
|
Use “%kernel.project_dir%” instead of deprecated “%kernel.root_dir%” | # http://www.whitewashing.de/2012/02/25/symfony2_controller_testing.html
# Tests/App/config.yml
framework:
secret: secret
test: ~
router: { resource: "%kernel.root_dir%/routing.yml" }
form: true
csrf_protection: true
templating: { engines: ['twig'] }
session:
# handler_id set to null will use default session handler from php.ini
handler_id: ~
storage_id: session.storage.filesystem
profiler:
collect: false
monolog:
handlers:
main:
type: fingers_crossed
action_level: error
handler: nested
nested:
type: stream
path: "%kernel.logs_dir%/%kernel.environment%.log"
level: debug
liip_test_fixtures:
cache_db:
sqlite: liip_functional_test.services_database_backup.sqlite
doctrine:
dbal:
default_connection: default
connections:
default:
driver: pdo_sqlite
path: "%kernel.cache_dir%/test.db"
orm:
auto_generate_proxy_classes: "%kernel.debug%"
auto_mapping: true
parameters:
twitter_consumer_key: null
twitter_consumer_secret: null
twitter_token: null
twitter_token_secret: null
services:
Acme\DataFixtures\:
resource: '../DataFixtures'
tags: ['doctrine.fixture.orm']
| # http://www.whitewashing.de/2012/02/25/symfony2_controller_testing.html
# Tests/App/config.yml
framework:
secret: secret
test: ~
router: { resource: "%kernel.project_dir%/tests/App/routing.yml" }
form: true
csrf_protection: true
templating: { engines: ['twig'] }
session:
# handler_id set to null will use default session handler from php.ini
handler_id: ~
storage_id: session.storage.filesystem
profiler:
collect: false
monolog:
handlers:
main:
type: fingers_crossed
action_level: error
handler: nested
nested:
type: stream
path: "%kernel.logs_dir%/%kernel.environment%.log"
level: debug
liip_test_fixtures:
cache_db:
sqlite: liip_functional_test.services_database_backup.sqlite
doctrine:
dbal:
default_connection: default
connections:
default:
driver: pdo_sqlite
path: "%kernel.cache_dir%/test.db"
orm:
auto_generate_proxy_classes: "%kernel.debug%"
auto_mapping: true
parameters:
twitter_consumer_key: null
twitter_consumer_secret: null
twitter_token: null
twitter_token_secret: null
services:
Acme\DataFixtures\:
resource: '../DataFixtures'
tags: ['doctrine.fixture.orm']
|
Update to latest module-ci that fixes Terraform install bug... again | machine:
environment:
PATH: $PATH:$HOME/glide/linux-amd64
dependencies:
override:
# Install the gruntwork-module-circleci-helpers and use it to configure the build environment and run tests.
- curl -Ls https://raw.githubusercontent.com/gruntwork-io/gruntwork-installer/master/bootstrap-gruntwork-installer.sh | bash /dev/stdin --version 0.0.13
- gruntwork-install --module-name "gruntwork-module-circleci-helpers" --repo "https://github.com/gruntwork-io/module-ci" --tag "v0.0.24"
- configure-environment-for-gruntwork-module --packer-version NONE --terragrunt-version NONE --go-src-path .
cache_directories:
- ~/glide
test:
override:
- run-go-tests
deployment:
release:
tag: /v.*/
commands:
# If a new release is tagged in GitHub, build the binaries and upload them to GitHub.
- build-go-binaries --app-name terragrunt --dest-path bin --ld-flags "-X main.VERSION=$CIRCLE_TAG"
- upload-github-release-assets bin/*
| machine:
environment:
PATH: $PATH:$HOME/glide/linux-amd64
dependencies:
override:
# Install the gruntwork-module-circleci-helpers and use it to configure the build environment and run tests.
- curl -Ls https://raw.githubusercontent.com/gruntwork-io/gruntwork-installer/master/bootstrap-gruntwork-installer.sh | bash /dev/stdin --version 0.0.13
- gruntwork-install --module-name "gruntwork-module-circleci-helpers" --repo "https://github.com/gruntwork-io/module-ci" --tag "v0.0.25"
- configure-environment-for-gruntwork-module --packer-version NONE --terragrunt-version NONE --go-src-path .
cache_directories:
- ~/glide
test:
override:
- run-go-tests
deployment:
release:
tag: /v.*/
commands:
# If a new release is tagged in GitHub, build the binaries and upload them to GitHub.
- build-go-binaries --app-name terragrunt --dest-path bin --ld-flags "-X main.VERSION=$CIRCLE_TAG"
- upload-github-release-assets bin/*
|
Create a node 6/8/9 build matrix | ---
version: 2
jobs:
build:
docker:
- image: circleci/node:6.11.5
steps:
- checkout
- restore_cache:
keys:
- dependency-cache-{{ checksum "package.json" }}
# fallback to the latest cache if no match is found
- v1-dependencies-
- run:
name: install-npm
command: npm install
- save_cache:
key: v1-dependencies-{{ checksum "package.json" }}
paths:
- node_modules
- run:
name: test
command: npm test
| ---
version: 2
jobs:
"node-6":
docker:
- image: circleci/node:6
steps:
- checkout
- restore_cache:
keys:
- dependency-cache-{{ checksum "package.json" }}
# fallback to the latest cache if no match is found
- v1-dependencies-
- run:
name: install-npm
command: npm install
- save_cache:
key: v1-dependencies-{{ checksum "package.json" }}
paths:
- node_modules
- run:
name: test
command: npm test
"node-8":
docker:
- image: circleci/node:8
steps:
- checkout
- restore_cache:
keys:
- dependency-cache-{{ checksum "package.json" }}
# fallback to the latest cache if no match is found
- v1-dependencies-
- run:
name: install-npm
command: npm install
- save_cache:
key: v1-dependencies-{{ checksum "package.json" }}
paths:
- node_modules
- run:
name: test
command: npm test
"node-9":
docker:
- image: circleci/node:9
steps:
- checkout
- restore_cache:
keys:
- dependency-cache-{{ checksum "package.json" }}
# fallback to the latest cache if no match is found
- v1-dependencies-
- run:
name: install-npm
command: npm install
- save_cache:
key: v1-dependencies-{{ checksum "package.json" }}
paths:
- node_modules
- run:
name: test
command: npm test
workflows:
version: 2
build:
jobs:
- "node-6"
- "node-8"
- "node-9"
|
Deal with multi-directory GOPATH on Circle | machine:
environment:
IMPORT_PATH: "github.com/$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME"
dependencies:
override:
- mkdir -p "$GOPATH/src/$IMPORT_PATH"
- rsync -azC --delete ./ "$GOPATH/src/$IMPORT_PATH/"
test:
pre:
- go vet ./...
override:
- go test ./... -race
| machine:
environment:
IMPORT_PATH: "github.com/$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME"
COPY_TARGET: echo $GOPATH | sed 's/:.*//'
dependencies:
override:
- mkdir -p "$COPY_TARGET/src/$IMPORT_PATH"
- rsync -azC --delete ./ "$COPY_TARGET/src/$IMPORT_PATH/"
test:
pre:
- go vet ./...
override:
- go test ./... -race
|
Use .0 suffix on Java version (match OpenJDK) | schema_version: 1
name: "jboss.container.openjdk.jdk"
description: "Installs the JDK for OpenJ9 11."
version: "openj9-11"
labels:
- name: "org.jboss.product"
value: "openjdk"
- name: "org.jboss.product.version"
value: "11"
- name: "org.jboss.product.openjdk.version"
value: "11"
envs:
- name: "JAVA_HOME"
value: "/usr/lib/jvm/jre-11-openj9"
- name: "JAVA_VENDOR"
value: "AdoptOpenJDK"
- name: "JAVA_VERSION"
value: "11"
packages:
install:
- java-11-openj9-devel
modules:
install:
- name: jboss.container.user
execute:
- script: configure.sh
| schema_version: 1
name: "jboss.container.openjdk.jdk"
description: "Installs the JDK for OpenJ9 11."
version: "openj9-11"
labels:
- name: "org.jboss.product"
value: "openjdk"
- name: "org.jboss.product.version"
value: "11.0"
- name: "org.jboss.product.openjdk.version"
value: "11.0"
envs:
- name: "JAVA_HOME"
value: "/usr/lib/jvm/jre-11-openj9"
- name: "JAVA_VENDOR"
value: "AdoptOpenJDK"
- name: "JAVA_VERSION"
value: "11.0"
packages:
install:
- java-11-openj9-devel
modules:
install:
- name: jboss.container.user
execute:
- script: configure.sh
|
Fix path to vagrant test output dir | ---
db_user: eorchestra
db_name: eorchestra
db_port: 5432
cidr_block: 172.17.0.0/16
PRIVATE_IP: '{{ ansible_eth1["ipv4"]["address"] }}'
PUBLIC_IP: '{{ PRIVATE_IP }}'
DB_HOST: '{{ PRIVATE_IP }}'
AUTH_MEMBERS: ''
postgres:
main_conf: /etc/postgresql/9.3/main/postgresql.conf
hba_conf: /etc/postgresql/9.3/main/pg_hba.conf
host:
keys_path: /home/vagrant/keys
certs_path: /home/vagrant/certs
tests_path: /home/vagrant/eotests
logs_path: /home/vagrant/logs
port: 443
vfork_port: 4081
vfork_hint_port: 8081
eotest_port: 8000
docker:
keys_path: /root/keys
certs_path: /srv/certs/selfsigned
tests_path: /srv/eotest
logs_path: /var/log/supervisor
port: 443
vfork_port: 4081
vfork_hint_port: 8081
eotest_port: 8000
| ---
db_user: eorchestra
db_name: eorchestra
db_port: 5432
cidr_block: 172.17.0.0/16
PRIVATE_IP: '{{ ansible_eth1["ipv4"]["address"] }}'
PUBLIC_IP: '{{ PRIVATE_IP }}'
DB_HOST: '{{ PRIVATE_IP }}'
AUTH_MEMBERS: ''
postgres:
main_conf: /etc/postgresql/9.3/main/postgresql.conf
hba_conf: /etc/postgresql/9.3/main/pg_hba.conf
host:
keys_path: /home/vagrant/keys
certs_path: /home/vagrant/certs
tests_path: /home/vagrant/tests
logs_path: /home/vagrant/logs
port: 443
vfork_port: 4081
vfork_hint_port: 8081
eotest_port: 8000
docker:
keys_path: /root/keys
certs_path: /srv/certs/selfsigned
tests_path: /srv/eotest
logs_path: /var/log/supervisor
port: 443
vfork_port: 4081
vfork_hint_port: 8081
eotest_port: 8000
|
Remove specific test support from AppVeyor | image: Visual Studio 2017
init:
- cmd: git config --global core.autocrlf false
before_build:
- cmd: dotnet --info
- cmd: dotnet restore ./GrEmit.sln --verbosity m
build_script:
- cmd: dotnet build --configuration Release ./GrEmit.sln
test_script:
- cmd: dotnet test --no-build --configuration Release ./GrEmit.Tests/GrEmit.Tests.csproj --logger "trx;LogFileName=test-results.trx"
after_test:
- ps: |
$wc = New-Object 'System.Net.WebClient'
$url = "https://ci.appveyor.com/api/testresults/mstest/$($env:APPVEYOR_JOB_ID)";
$wc.UploadFile($url, (Resolve-Path './GrEmit.Tests/TestResults/test-results.trx'))
| image: Visual Studio 2017
init:
- cmd: git config --global core.autocrlf false
before_build:
- cmd: dotnet --info
- cmd: dotnet restore ./GrEmit.sln --verbosity m
build_script:
- cmd: dotnet build --configuration Release ./GrEmit.sln
test_script:
- cmd: dotnet test --no-build --configuration Release ./GrEmit.Tests/GrEmit.Tests.csproj
|
Use newer Visual Studio for Appveyor builds | version: "{branch}-ci-{build}"
image: Visual Studio 2013
branches:
only:
- master
environment:
matrix:
- build: msvc
platform: x64
- build: msvc
platform: x86
- build: clang
platform: x86
# - build: gcc
# platform: x86
before_build:
- cmd: git submodule update --init
- cmd: call "%VS120COMNTOOLS%\..\..\VC\vcvarsall.bat" %PLATFORM%
- cmd: set PATH=%PATH%;C:\Perl;C:\Program Files\LLVM\bin;C:\MinGW\bin
build_script:
- cmd: cd C:\projects\putty-aes-ni\Putty
- cmd: perl ./mkfiles.pl
- cmd: cd windows
- cmd: copy C:\MinGW\bin\windres.exe C:\MinGW\bin\i686-w64-mingw32-windres.exe
- cmd: if "%build%"=="msvc" nmake -f Makefile.vc
- cmd: if "%build%"=="clang" mingw32-make -f Makefile.clangcl
- cmd: if "%build%"=="gcc" mingw32-make -f Makefile.mgw
test_script:
- cmd: cd C:\projects\putty-aes-ni\Putty\windows
- cmd: dir *.exe
| version: "{branch}-ci-{build}"
image: Visual Studio 2015
branches:
only:
- master
environment:
matrix:
- build: msvc
platform: x64
- build: msvc
platform: x86
- build: clang
platform: x86
# - build: gcc
# platform: x86
before_build:
- cmd: git submodule update --init
- cmd: call "%VS140COMNTOOLS%\..\..\VC\vcvarsall.bat" %PLATFORM%
- cmd: set PATH=%PATH%;C:\Perl;C:\Program Files\LLVM\bin;C:\MinGW\bin
build_script:
- cmd: cd C:\projects\putty-aes-ni\Putty
- cmd: perl ./mkfiles.pl
- cmd: cd windows
- cmd: copy C:\MinGW\bin\windres.exe C:\MinGW\bin\i686-w64-mingw32-windres.exe
- cmd: if "%build%"=="msvc" nmake -f Makefile.vc
- cmd: if "%build%"=="clang" mingw32-make -f Makefile.clangcl
- cmd: if "%build%"=="gcc" mingw32-make -f Makefile.mgw
test_script:
- cmd: cd C:\projects\putty-aes-ni\Putty\windows
- cmd: dir *.exe
|
Use Node6 and add yarn install | branches:
only:
- master
environment:
nodejs_version: '5.2.0'
install:
- ps: Install-Product node $env:nodejs_version
- choco install yarn
- refreshenv
- set CI=true
- set PATH=%APPDATA%\npm;%PATH%
cache:
- "%LOCALAPPDATA%/Yarn"
build: off
version: '{build}'
shallow_clone: true
clone_depth: 1
test_script:
- node --version
- npm --version
- npm test
| branches:
only:
- master
environment:
nodejs_version: "6"
install:
- ps: Install-Product node $env:nodejs_version
- choco install yarn
- refreshenv
- set CI=true
- set PATH=%APPDATA%\npm;%PATH%
- yarn install
cache:
- "%LOCALAPPDATA%/Yarn"
build: off
version: '{build}'
shallow_clone: true
clone_depth: 1
test_script:
- node --version
- npm --version
- npm test
|
Add nuget publish on tags | version: '{build}'
pull_requests:
do_not_increment_build_number: true
branches:
only:
- master
nuget:
disable_publish_on_pr: true
build_script:
- ps: .\Build.ps1
test: off
artifacts:
- path: .\artifacts\*.nupkg
name: NuGet
deploy:
- provider: NuGet
server: https://www.myget.org/F/skarp/api/v2/package
api_key:
secure: QUUDwCiAHecwSEHztB/ANurfoE3BMOpibwyPmr852U3a7VEamjUTfpzv86wVCjLD
skip_symbols: true
on:
branch: master
#- provider: NuGet
# name: production
# api_key:
# secure: K9fYWxy1AnyvMSW/zrMyiH5OiCZGBNjh9qH/K8OcSYfElGWpm5/qJD9wqH/Uw==
# on:
# branch: master
# appveyor_repo_tag: true | version: '{build}'
pull_requests:
do_not_increment_build_number: true
branches:
only:
- master
nuget:
disable_publish_on_pr: true
build_script:
- ps: .\Build.ps1
test: off
artifacts:
- path: .\artifacts\*.nupkg
name: NuGet
deploy:
- provider: NuGet
server: https://www.myget.org/F/skarp/api/v2/package
api_key:
secure: QUUDwCiAHecwSEHztB/ANurfoE3BMOpibwyPmr852U3a7VEamjUTfpzv86wVCjLD
skip_symbols: true
on:
branch: master
- provider: NuGet
name: production
api_key:
secure: Wnw70OCnYNtI3S46Mf+1aNO8yTfq0rQUGVLZauUuCSU5CXauFqur2/NMnhWRJtvP
on:
appveyor_repo_tag: true |
Add new owner for primaryauthority.bis.gov.uk | ---
site: bis_pa
whitehall_slug: department-for-business-innovation-skills
redirection_date: 31st July 2014
homepage: https://www.gov.uk/government/organisations/department-for-business-innovation-skills
tna_timestamp: 20201010101010 # Stub timestamp - site is not in TNA
host: primaryauthority.bis.gov.uk
homepage_furl: www.gov.uk/bis
aliases:
- www.primaryauthority.bis.gov.uk
global: =301 https://www.gov.uk/government/organisations/department-for-business-innovation-skills
| ---
site: bis_pa
whitehall_slug: department-for-business-innovation-skills
redirection_date: 31st July 2014
homepage: https://www.gov.uk/government/organisations/better-regulation-delivery-office
tna_timestamp: 20201010101010 # Stub timestamp - site is not in TNA
host: primaryauthority.bis.gov.uk
homepage_furl: www.gov.uk/bis
aliases:
- www.primaryauthority.bis.gov.uk
global: =301 https://www.gov.uk/government/organisations/better-regulation-delivery-office
other_organisation_slugs:
- better-regulation-delivery-office
|
Update CV of Quoting Stars to 1.0.8 (8) | Categories:
- Multimedia
License: Apache-2.0
SourceCode: https://github.com/uheai/Quoting-Stars
IssueTracker: https://github.com/uheai/Quoting-Stars/issues
Summary: App for Silent Communications 2017
RepoType: git
Repo: https://github.com/uheai/Quoting-Stars
Builds:
- versionName: 1.0.8
versionCode: 8
commit: v1.0.8
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
| Categories:
- Multimedia
License: Apache-2.0
SourceCode: https://github.com/uheai/Quoting-Stars
IssueTracker: https://github.com/uheai/Quoting-Stars/issues
AutoName: Quoting Stars
Summary: App for Silent Communications 2017
RepoType: git
Repo: https://github.com/uheai/Quoting-Stars
Builds:
- versionName: 1.0.8
versionCode: 8
commit: v1.0.8
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: 1.0.8
CurrentVersionCode: 8
|
Set php5-fpm service to start at boot | ---
- name: Add PHP 5.5 PPA
apt_repository: repo='ppa:ondrej/php5' update_cache=yes
- name: Install PHP 5.5
apt: name={{ item }} state=present force=yes
with_items:
- php5-common
- php5-fpm
- php5-mysqlnd
- php5-xmlrpc
- php5-mcrypt
- php5-curl
- php5-gd
- php5-cli
- php-pear
- php5-dev
- php5-imap
- name: Create socket directory
file: path=/var/run/php5-fpm/ state=directory
- name: Disable default pool
command: mv /etc/php5/fpm/pool.d/www.conf /etc/php5/fpm/pool.d/www.disabled creates=/etc/php5/fpm/pool.d/www.disabled
when: disable_default_pool
notify: restart php-fpm
- name: Copy php-fpm configuration
template: src=wordpress.conf.j2 dest=/etc/php5/fpm/pool.d/{{ item.site_name }}.conf
with_items: wordpress_sites
notify: restart php-fpm
| ---
- name: Add PHP 5.5 PPA
apt_repository: repo='ppa:ondrej/php5' update_cache=yes
- name: Install PHP 5.5
apt: name={{ item }} state=present force=yes
with_items:
- php5-common
- php5-fpm
- php5-mysqlnd
- php5-xmlrpc
- php5-mcrypt
- php5-curl
- php5-gd
- php5-cli
- php-pear
- php5-dev
- php5-imap
- name: Start php5-fpm service
service: name=php5-fpm state=started enabled=true
- name: Create socket directory
file: path=/var/run/php5-fpm/ state=directory
- name: Disable default pool
command: mv /etc/php5/fpm/pool.d/www.conf /etc/php5/fpm/pool.d/www.disabled creates=/etc/php5/fpm/pool.d/www.disabled
when: disable_default_pool
notify: restart php-fpm
- name: Copy php-fpm configuration
template: src=wordpress.conf.j2 dest=/etc/php5/fpm/pool.d/{{ item.site_name }}.conf
with_items: wordpress_sites
notify: restart php-fpm
|
Fix setting of java main command line arguments | ---
applications:
- name: change-me
memory: 512M
buildpack: java_buildpack
env:
JBP_CONFIG_JAVA_MAIN: '{ arguments: "server paas.yaml" }'
services:
- change-me-db
env:
REGISTER: change-me
REGISTER_DOMAIN: change-me.cloudapps.digital
USER: change-me
PASSWORD: change-me
| ---
applications:
- name: change-me
memory: 512M
buildpack: java_buildpack
services:
- change-me-db
env:
JBP_CONFIG_JAVA_MAIN: '{ arguments: "server paas.yaml" }'
REGISTER: change-me
REGISTER_DOMAIN: change-me.cloudapps.digital
USER: change-me
PASSWORD: change-me
|
Update helm chart version to 0.4.2 | apiVersion: v1alpha1
description: The batch scheduler of Kubernetes
name: kube-batch
version: 0.4.1
| apiVersion: v1alpha1
description: The batch scheduler of Kubernetes
name: kube-batch
version: 0.4.2
|
Update runtime and build dependencies. | {% set version = "0.3.11" %}
package:
name: pygeobase
version: {{ version }}
source:
fn: pygeobase-{{ version }}.tar.gz
url: https://pypi.io/packages/source/p/pygeobase/pygeobase-{{ version }}.tar.gz
sha256: 9b4bd568a3acadf4c77b0ed3a080d39c994184ab2f91b99e56fea190b7bd1365
build:
number: 0
script: python setup.py install --single-version-externally-managed --record record.txt
requirements:
build:
- python
- setuptools
- pyscaffold
- six
run:
- python
- numpy
- netcdf4
- pyproj
- pygeogrids
test:
imports:
- pygeobase
- pygeobase.io_base
- pygeobase.object_base
about:
home: https://github.com/TUW-GEO/pygeobase
license: BSD 3-Clause
license_file: LICENSE.txt
summary: 'Base class definition for I/O interfaces of poets°'
extra:
recipe-maintainers:
- cpaulik
| {% set version = "0.3.11" %}
package:
name: pygeobase
version: {{ version }}
source:
fn: pygeobase-{{ version }}.tar.gz
url: https://pypi.io/packages/source/p/pygeobase/pygeobase-{{ version }}.tar.gz
sha256: 9b4bd568a3acadf4c77b0ed3a080d39c994184ab2f91b99e56fea190b7bd1365
build:
number: 0
script: python setup.py install --single-version-externally-managed --record record.txt
requirements:
build:
- python
- setuptools
- pyscaffold
- six
- setuptools_scm>=1.7
run:
- python
- numpy
- setuptools
test:
imports:
- pygeobase
- pygeobase.io_base
- pygeobase.object_base
about:
home: https://github.com/TUW-GEO/pygeobase
license: BSD 3-Clause
license_file: LICENSE.txt
summary: 'Base class definition for I/O interfaces of poets°'
extra:
recipe-maintainers:
- cpaulik
|
Add bosh_deployment to node exporter labels | # By default the BOSH director is not scraped by Prometheus
- type: replace
path: /instance_groups/name=prometheus2/jobs/name=prometheus2/properties/prometheus/scrape_configs/job_name=node/static_configs?/-
value:
targets:
# The port will be added in the upstream relabel configuration
#
# This is the BOSH director
- "10.0.0.6"
# This is the Prometheus monitoring its own node exporter
- "127.0.0.1"
labels:
__meta_bosh_job_process_name: node_exporter
- type: replace
path: /instance_groups/name=prometheus2/jobs/name=prometheus2/properties/prometheus/scrape_configs/job_name=node/relabel_configs?/-
value:
source_labels:
- __address__
regex: "^(10|127)[.].*"
action: keep
| # By default the BOSH director is not scraped by Prometheus
- type: replace
path: /instance_groups/name=prometheus2/jobs/name=prometheus2/properties/prometheus/scrape_configs/job_name=node/static_configs?/-
value:
targets:
# The port will be added in the upstream relabel configuration
#
# This is the BOSH director
- "10.0.0.6"
# This is the Prometheus monitoring its own node exporter
- "127.0.0.1"
labels:
__meta_bosh_job_process_name: node_exporter
- type: replace
path: /instance_groups/name=prometheus2/jobs/name=prometheus2/properties/prometheus/scrape_configs/job_name=node/relabel_configs?/-
value:
source_labels:
- __address__
regex: "^(10|127)[.].*"
action: keep
- type: replace
path: /instance_groups/name=prometheus2/jobs/name=prometheus2/properties/prometheus/scrape_configs/job_name=node/relabel_configs?/-
value:
source_labels:
- __meta_bosh_deployment
target_label: bosh_deployment
regex: (.*)
replacement: ${1}
action: replace
|
Add description for "Mock API Servers" category | name: Mock API Servers
description:
projects:
- iridakos/duckrails
| name: Mock API Servers
description: Applications allowing to mock API endpoints
projects:
- iridakos/duckrails
|
Fix bundler version in Travis CI | language: ruby
rvm:
- 2.2.2
env:
global:
- CC_TEST_REPORTER_ID=9302884ead7bad6d1cc81026ba78b5cd8551024643cf14c72fe2d42eaaef36e6
before_install:
- gem install bundler -v 1.10.6
before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
cache: bundler
| language: ruby
rvm:
- 2.2.2
env:
global:
- CC_TEST_REPORTER_ID=9302884ead7bad6d1cc81026ba78b5cd8551024643cf14c72fe2d42eaaef36e6
before_install:
- gem update --system
- gem install bundler
before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
cache: bundler
|
Test with node.js 11 as well | language: node_js
node_js:
- "6"
- "8"
- "10"
script: "npm run-script travis"
| language: node_js
node_js:
- "6"
- "8"
- "10"
- "11"
script: "npm run-script travis"
|
Drop Node 6 and add Node 12 | language: node_js
node_js:
- "6"
- "8"
- "10"
- "node"
script: "npm run-script test:travis"
after_script: "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
| language: node_js
node_js:
- "8"
- "10"
- "12"
- "node"
script: "npm run-script test:travis"
after_script: "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
|
Create comment issues for new years posts | 2015-02-24-talk-to-a-duck.md: 3
2015-02-19-yet-another-developer-blog.md: 4
2017-11-22-mise-a-jour-ligne-editoriale.md: 5
2015-05-03-who-is-your-programing-role-model.md: 6
2017-10-30-hacktoberfest.md: 7
2015-04-22-why-cooking-pasties-makes-me-a-better-programmer.md: 8
2015-10-03-mr-robot-psychology-of-hacking.md: 9
2015-02-27-stress-and-deployment.md: 10
2015-07-08-what-you-understand-well-you-enunciate-clearly.md: 11
2017-11-30-cinquieme-principe-agile.md: 12
| 2015-02-24-talk-to-a-duck.md: 3
2015-02-19-yet-another-developer-blog.md: 4
2017-11-22-mise-a-jour-ligne-editoriale.md: 5
2015-05-03-who-is-your-programing-role-model.md: 6
2017-10-30-hacktoberfest.md: 7
2015-04-22-why-cooking-pasties-makes-me-a-better-programmer.md: 8
2015-10-03-mr-robot-psychology-of-hacking.md: 9
2015-02-27-stress-and-deployment.md: 10
2015-07-08-what-you-understand-well-you-enunciate-clearly.md: 11
2017-11-30-cinquieme-principe-agile.md: 12
2018-01-04-bye-2017.md: 13
2018-01-04-hello-2018.md: 14
|
Add xdebug info for build | language: php
php:
- 5.4
- 5.5
- 5.6
before_install:
- sudo apt-get install re2c libpcre3-dev
# TODO: fix the Zephir version via Composer
install:
- php -i | grep
- cd /tmp
- wget https://github.com/json-c/json-c/archive/0eedf3802fad2d41e45eecd92af529440f0d7d3a.zip -O json-c
- unzip -q json-c
- cd json-c-0eedf3802fad2d41e45eecd92af529440f0d7d3a
- sh autogen.sh
- ./configure
- make
- sudo make install
- wget https://github.com/phalcon/zephir/archive/master.zip -O zephir
- unzip -q zephir
- cd zephir-master
- sudo ./install -c
- phpize -v
- cd $TRAVIS_BUILD_DIR
- composer selfupdate
- composer install
before_script:
- ./vendor/bin/phpunit --coverage-clover coverage.clover
after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
- zephir build
script: php -dextension=code.so ./vendor/bin/phpunit
| language: php
php:
- 5.4
- 5.5
- 5.6
before_install:
- sudo apt-get install re2c libpcre3-dev
# TODO: fix the Zephir version via Composer
install:
- php -i | grep xdebug
- cd /tmp
- wget https://github.com/json-c/json-c/archive/0eedf3802fad2d41e45eecd92af529440f0d7d3a.zip -O json-c
- unzip -q json-c
- cd json-c-0eedf3802fad2d41e45eecd92af529440f0d7d3a
- sh autogen.sh
- ./configure
- make
- sudo make install
- wget https://github.com/phalcon/zephir/archive/master.zip -O zephir
- unzip -q zephir
- cd zephir-master
- sudo ./install -c
- phpize -v
- cd $TRAVIS_BUILD_DIR
- composer selfupdate
- composer install
before_script:
- ./vendor/bin/phpunit --coverage-clover coverage.clover
after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
- zephir build
script: php -dextension=code.so ./vendor/bin/phpunit
|
Update CI to run Python 2/3 tests | test:
script:
- apt-get update -qy
- apt-get install -y python-dev python-pip
- pip install virtualenv
- "# Test with python 2"
- virtualenv --system-site-packages --python=/usr/bin/python2 venv2
# NOTE: Installing these packages by hand is a
# temporary solution.
# TODO: Try setting up a runner with a ROS image.
- venv2/bin/pip install nose
- venv2/bin/pip install pyyaml
- venv2/bin/pip install jinja2
- venv2/bin/nosetests test/executive_smach_tutorials.py
| test:
script:
- apt-get update -qy
- apt-get install -y python-dev python-pip
- pip install virtualenv
- "# Test with python 2"
- virtualenv --system-site-packages --python=/usr/bin/python2 venv2
# NOTE: Installing these packages by hand is a
# temporary solution.
# TODO: Try setting up a runner with a ROS image.
- venv2/bin/pip install nose
- venv2/bin/pip install pyyaml
- venv2/bin/pip install jinja2
- venv2/bin/nosetests test/executive_smach_tutorials.py
- "# Test with python 3"
- virtualenv --system-site-packages --python=/usr/bin/python3 venv3
# NOTE: Installing these packages by hand is a
# temporary solution.
# TODO: Try setting up a runner with a ROS image.
- venv3/bin/pip install nose
- venv3/bin/pip install pyyaml
- venv3/bin/pip install jinja2
- venv3/bin/nosetests test/executive_smach_tutorials.py
|
Add name and correct typo | variables:
DOCKER_DRIVER: overlay2
GIT_DEPTH: "3"
stages:
- build
.general:
only: [merge_requests]
retry:
max: 2
when:
- runner_system_failure
- stuck_or_timeout_failure
# variables:
# CI_DEBUG_TRACE: "true"
native-build:
extends: .general
stage: build
image: registry.orfeo-toolbox.org/gbonnefille/otb-build-env/otb-ubuntu-native:18.04
script:
- ctest -VV -S CI/main_ci.cmake -DIMAGE_NAME:string=ubuntu-18.04-gcc
shark-build:
extends: .general
stage: build
image: registry.orfeo-toolbox.org/gbonnefille/otb-build-env/otb-ubuntu-shark:18.04
script:
- ctest -VV -S CI/main_ci.cmake -DIMAGE_NAME:string=ubuntu-18.04-llvm-shark
artifacts:
paths:
- install/share/otb/description/
expire_in: 1 week
| variables:
DOCKER_DRIVER: overlay2
GIT_DEPTH: "3"
stages:
- build
.general:
only: [merge_requests]
retry:
max: 2
when:
- runner_system_failure
- stuck_or_timeout_failure
# variables:
# CI_DEBUG_TRACE: "true"
native-build:
extends: .general
stage: build
image: registry.orfeo-toolbox.org/gbonnefille/otb-build-env/otb-ubuntu-native:18.04
script:
- ctest -VV -S CI/main_ci.cmake -DIMAGE_NAME:string=ubuntu-18.04-gcc
shark-build:
extends: .general
stage: build
image: registry.orfeo-toolbox.org/gbonnefille/otb-build-env/otb-ubuntu-shark:18.04
script:
- ctest -VV -S CI/main_ci.cmake -DIMAGE_NAME:string=ubuntu-18.04-llvm-shark
artifacts:
name: "QGISdescriptor6.7"
paths:
- install/share/otb/description/
expire_in: 1 week
|
Revert "Try adding mongo service to gitlab ci test." | image: python:2.7
services:
- mongo:2.6.12
test:
script:
- pip install -r requirements.txt
- nosetests --with-coverage --cover-package=paradrop
| image: python:2.7
test:
script:
- pip install -r requirements.txt
- nosetests --with-coverage --cover-package=paradrop
|
Test with the lowest dependencies | language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm
sudo: false
cache:
directories:
- $HOME/.composer/cache
env:
- SYMFONY_VERSION=2.6.*
matrix:
include:
- php: 5.6
env: SYMFONY_VERSION=2.3.*
- php: 5.6
env: SYMFONY_VERSION=2.5.*
- php: 5.6
env: SYMFONY_VERSION=2.7.*
- php: 5.6
env: SYMFONY_VERSION=3.0.*
allow_failures:
- php: 5.6
env: SYMFONY_VERSION=2.7.*
- php: 5.6
env: SYMFONY_VERSION=3.0.*
before_script:
- composer self-update
- composer require symfony/symfony:${SYMFONY_VERSION} --prefer-dist
script:
- phpunit
notifications:
irc: "irc.freenode.org#symfony-cmf"
email: "symfony-cmf-devs@googlegroups.com"
| language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm
sudo: false
cache:
directories:
- $HOME/.composer/cache
env:
- SYMFONY_VERSION=2.6.*
matrix:
include:
- php: 5.3.3
env: SYMFONY_VERSION=2.3.* COMPOSER_FLAGS="--prefer-lowest"
- php: 5.6
env: SYMFONY_VERSION=2.3.*
- php: 5.6
env: SYMFONY_VERSION=2.5.*
- php: 5.6
env: SYMFONY_VERSION=2.7.*
- php: 5.6
env: SYMFONY_VERSION=3.0.*
allow_failures:
- php: 5.6
env: SYMFONY_VERSION=2.7.*
- php: 5.6
env: SYMFONY_VERSION=3.0.*
before_script:
- composer self-update
- composer require symfony/symfony:${SYMFONY_VERSION} --no-update
- composer update --prefer-dist $COMPOSER_FLAGS
script:
- phpunit
notifications:
irc: "irc.freenode.org#symfony-cmf"
email: "symfony-cmf-devs@googlegroups.com"
|
Use the maximum of 3 GB for the JVM to build | language: android
android:
components:
- android-21
- build-tools-21.1.2
- platform-tools
- extra-google-m2repository
- extra-android-m2repository
# Specify at least one system image,
# if you need to run emulator(s) during your tests
# - sys-img-x86-android-21
before_script:
- GRADLE_OPTS="-Xms40m -Xmx2g -XX:MaxPermSize=2g"
script: "./gradlew clean build -Dpre-dex=false"
branches:
only:
- master
- develop
| language: android
android:
components:
- android-21
- build-tools-21.1.2
- platform-tools
- extra-google-m2repository
- extra-android-m2repository
# Specify at least one system image,
# if you need to run emulator(s) during your tests
# - sys-img-x86-android-21
before_script:
- GRADLE_OPTS="-Xms40m -Xmx3g -XX:MaxPermSize=3g"
script: "./gradlew clean build -Dpre-dex=false"
branches:
only:
- master
- develop
|
Remove instruction in Travis script to build pthread library, since it is only required to build shell, which won't built now. | language: cpp
compiler:
- clang
- gcc
env:
- BUILD_TYPE=Debug
- BUILD_TYPE=Release
before_install:
- sudo apt-get install libboost-all-dev
- sudo apt-get install libpthread-stubs0-dev
install:
- mkdir build
- cd build
- cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DBUILD_TESTS=on -DBUILD_TESTS_WITH_EIGEN=on -DFORCE_DEPENDENCIES_BUILD=on ..
- make
- cd ..
script:
- cd build
- ctest -V | language: cpp
compiler:
- clang
- gcc
env:
- BUILD_TYPE=Debug
- BUILD_TYPE=Release
before_install:
- sudo apt-get install libboost-all-dev
install:
- mkdir build
- cd build
- cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DBUILD_TESTS=on -DBUILD_TESTS_WITH_EIGEN=on -DFORCE_DEPENDENCIES_BUILD=on ..
- make
- cd ..
script:
- cd build
- ctest -V |
Add addon for updating docker | language: go
go:
- 1.9
- tip
services:
- docker
before_install:
- go get github.com/golang/dep/...
- go get github.com/golang/lint/golint
- go get github.com/mattn/goveralls
install:
- $GOPATH/bin/dep ensure
script:
- make test
- make lint
- make docker-build
after_script:
- goveralls -repotoken ${COVERALLS_TOKEN} | language: go
go:
- 1.9
- tip
services:
- docker
addons:
apt:
packages:
- docker-ce
before_install:
- go get github.com/golang/dep/...
- go get github.com/golang/lint/golint
- go get github.com/mattn/goveralls
install:
- $GOPATH/bin/dep ensure
script:
- make test
- make lint
- make docker-build
after_script:
- goveralls -repotoken ${COVERALLS_TOKEN} |
Test upgrade mono for CI | language: c
install:
- sudo add-apt-repository ppa:directhex/monoxide -y && sudo apt-get update
- sudo apt-get install mono-devel mono-gmcs nunit-console
- mozroots --import --sync
script:
- xbuild /p:Configuration=Release source/Handlebars.sln
- nunit-console source/Handlebars.Test/bin/Release/Handlebars.Test.dll
notifications:
email:
- rex@rexmorgan.net
env:
global:
- EnableNuGetPackageRestore=true
| language: c
install:
- sudo apt-get update
- sudo apt-get install mono-complete mono-gmcs nunit-console
- mozroots --import --sync
script:
- xbuild /p:Configuration=Release source/Handlebars.sln
- nunit-console source/Handlebars.Test/bin/Release/Handlebars.Test.dll
notifications:
email:
- rex@rexmorgan.net
env:
global:
- EnableNuGetPackageRestore=true
|
Drop testing on 1.10 and 1.11 | language: go
os:
- linux
- osx
- windows
go:
- "1.10.x"
- "1.11.x"
- "1.12.x"
- "1.13.x"
install:
- go get -t ./...
before_script:
- |
if [[ $TRAVIS_GO_VERSION == '1.13.x' && $TRAVIS_OS_NAME == 'linux' ]]; then
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin
fi
script:
- go test -v -race ./...
- |
if [[ $TRAVIS_GO_VERSION == '1.13.x' && $TRAVIS_OS_NAME == 'linux' ]]; then
golangci-lint run
fi
| language: go
os:
- linux
- osx
- windows
go:
- "1.12.x"
- "1.13.x"
install:
- go get -t ./...
before_script:
- |
if [[ $TRAVIS_GO_VERSION == '1.13.x' && $TRAVIS_OS_NAME == 'linux' ]]; then
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin
fi
script:
- go test -v -race ./...
- |
if [[ $TRAVIS_GO_VERSION == '1.13.x' && $TRAVIS_OS_NAME == 'linux' ]]; then
golangci-lint run
fi
|
Test make init on Travis | language: python
python:
- "2.7"
install: "pip install -r requirements.txt"
script: ./manage.py test
| language: python
python:
- "2.7"
install: "pip install -r requirements.txt"
script:
- ./manage.py test
- make init
|
Add Sudo to OSX script | language: csharp
sudo: required
#dist: trusty
os:
#- linux
- osx
osx_image: xcode7.3
before_install:
- if test "$TRAVIS_OS_NAME" == "osx"; then brew update; brew install openssl; ln -s /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib /usr/local/lib/; ln -s /usr/local/opt/openssl/lib/libssl.1.0.0.dylib /usr/local/lib/; fi
install:
- if test "$TRAVIS_OS_NAME" == "osx"; then brew tap caskroom/cask; brew cask install dotnet;
# - sudo sh -c 'echo "deb [arch=amd64] https://apt-mo.trafficmanager.net/repos/dotnet-release/ trusty main" > /etc/apt/sources.list.d/dotnetdev.list'
# - sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 417A0893
# - sudo apt-get update
# - sudo apt-get install dotnet-dev-1.0.0-preview2.1-003177
script:
- ./build.sh --verbosity diagnostic
notifications:
email: false | language: csharp
sudo: required
#dist: trusty
os:
#- linux
- osx
osx_image: xcode7.3
before_install:
- if test "$TRAVIS_OS_NAME" == "osx"; then brew update; brew install openssl; ln -s /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib /usr/local/lib/; ln -s /usr/local/opt/openssl/lib/libssl.1.0.0.dylib /usr/local/lib/; fi
install:
- sudo if test "$TRAVIS_OS_NAME" == "osx"; then brew tap caskroom/cask; brew cask install dotnet;
# - sudo sh -c 'echo "deb [arch=amd64] https://apt-mo.trafficmanager.net/repos/dotnet-release/ trusty main" > /etc/apt/sources.list.d/dotnetdev.list'
# - sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 417A0893
# - sudo apt-get update
# - sudo apt-get install dotnet-dev-1.0.0-preview2.1-003177
script:
- ./build.sh --verbosity diagnostic
notifications:
email: false |
Test PHP 5.3.3, PHP 5.3, and PHP 5.6 | language: php
before_script:
- composer install --prefer-source
php:
- 5.3.3
- 5.3
- 5.4
- 5.5
- hhvm
matrix:
allow_failures:
- php: hhvm
notifications:
email: false
irc: "irc.freenode.org#phpunit"
| language: php
before_script:
- composer install --prefer-source
php:
- 5.3.3
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm
matrix:
allow_failures:
- php: hhvm
notifications:
email: false
irc: "irc.freenode.org#phpunit"
|
Build with Node.js 10 on Travis CI. | sudo: false
language: node_js
node_js:
- '0.10'
- '0.12'
- '4'
- '6'
- '8'
branches:
only:
- master
- travis-ci
before_install:
- npm install
- make zic && make
| sudo: false
language: node_js
node_js:
- '0.10'
- '0.12'
- '4'
- '6'
- '8'
- '10'
branches:
only:
- master
- travis-ci
before_install:
- npm install
- make zic && make
|
Remove broken rust-ci documentation uploading. | language: rust
env:
global:
- secure: BLl8DC5sI60QG7Up/4j5CyAGYfEPQ3A/qqCWv6r57eU3YNf5ULhInoofarjVneNd5RVcGSqjXsWvuiyiinnUWN6A02kXanO3ZsxDU9JbvrJRO4w4F2aR3jrAkV6uNFFjWf7lOthaPzptT85Xy94zN0yzoRwJ5ug5WEn2Y51Yp88=
before_install:
- yes | sudo add-apt-repository ppa:ubuntu-toolchain-r/test
- sudo apt-get update
install:
- sudo apt-get install g++-4.8 gcc-4.8 git
- git clone https://github.com/kentonv/capnproto.git
- export CC=gcc-4.8
- export CXX=g++-4.8
- cd capnproto/c++
- ./setup-autotools.sh
- autoreconf -i
- ./configure && make -j5 && sudo make install && cd ../..
script:
- cargo build
- cargo doc
- cp -r target/doc .
after_script:
- curl http://www.rust-ci.org/artifacts/put?t=$RUSTCI_TOKEN | sh | language: rust
before_install:
- yes | sudo add-apt-repository ppa:ubuntu-toolchain-r/test
- sudo apt-get update
install:
- sudo apt-get install g++-4.8 gcc-4.8 git
- git clone https://github.com/kentonv/capnproto.git
- export CC=gcc-4.8
- export CXX=g++-4.8
- cd capnproto/c++
- ./setup-autotools.sh
- autoreconf -i
- ./configure && make -j5 && sudo make install && cd ../..
script:
- cargo build
- cargo doc
- cp -r target/doc .
|
Add beta and allow nightly failures | sudo: required
language: rust
rust:
- stable
- nightly
services:
- docker
before_install:
- ./scripts/setup_test_env.sh
script:
- cargo build
- mkdir tokens
- cargo run -- --token-dir ./tokens --pepper=PEPPER --db "postgres://synapse:synapse@localhost:5433/synapse" &
- sleep 1
- cargo test
| sudo: required
language: rust
rust:
- stable
- beta
- nightly
matrix:
allow_failures:
- rust: nightly
services:
- docker
before_install:
- ./scripts/setup_test_env.sh
script:
- cargo build
- mkdir tokens
- cargo run -- --token-dir ./tokens --pepper=PEPPER --db "postgres://synapse:synapse@localhost:5433/synapse" &
- sleep 1
- cargo test
|
Use npm version 3 in CI builds | language: php
php:
- '5.5'
- '5.6'
- '7.0'
before_script:
- nvm install 4
- nvm use 4
- npm i -g gulp
- npm i
- touch tests.db
- chmod a+w tests.db
script:
- ./src/api/vendor/phpunit/phpunit/phpunit -c test/api/phpunit.xml
- gulp test-app && gulp coverage
after_success:
- echo -e "<?php\n print phpversion();" > version.php
- curl "https://raw.githubusercontent.com/andreafabrizi/Dropbox-Uploader/master/dropbox_uploader.sh" -o dropbox_uploader.sh
- chmod +x dropbox_uploader.sh
- ./dropbox_uploader.sh -f /dev/null upload api-coverage/ coverage-$(php version.php)/
- ./dropbox_uploader.sh -f /dev/null upload coverage.html coverage-$(php version.php)/
| language: php
php:
- '5.5'
- '5.6'
- '7.0'
before_script:
- nvm install 4
- nvm use 4
- npm i -g npm@3
- npm i -g gulp
- npm i
- touch tests.db
- chmod a+w tests.db
script:
- ./src/api/vendor/phpunit/phpunit/phpunit -c test/api/phpunit.xml
- gulp test-app && gulp coverage
after_success:
- echo -e "<?php\n print phpversion();" > version.php
- curl "https://raw.githubusercontent.com/andreafabrizi/Dropbox-Uploader/master/dropbox_uploader.sh" -o dropbox_uploader.sh
- chmod +x dropbox_uploader.sh
- ./dropbox_uploader.sh -f /dev/null upload api-coverage/ coverage-$(php version.php)/
- ./dropbox_uploader.sh -f /dev/null upload coverage.html coverage-$(php version.php)/
|
Add testing for node 5.0 | language: node_js
node_js:
- "0.12"
- "0.11"
- "0.10"
- "4.0"
- "iojs"
after_success:
- npm run coveralls | language: node_js
node_js:
- "5.0"
- "4.0"
- "0.12"
- "0.11"
- "0.10"
after_success:
- npm run coveralls |
Upgrade CI build to a supported JDK version | sudo: false
language: scala
jdk:
- oraclejdk8
script:
- sbt "^^ ${SBT_VERSION}" scripted
matrix:
include:
- env: SBT_VERSION="0.13.6"
- env: SBT_VERSION="1.0.0"
| sudo: false
language: scala
jdk:
- oraclejdk9
script:
- sbt "^^ ${SBT_VERSION}" scripted
matrix:
include:
- env: SBT_VERSION="0.13.6"
- env: SBT_VERSION="1.0.0"
|
Update ruby versions testing against | language: ruby
rvm:
- 2.1
- 2.2
- 2.3.0
before_install: gem install bundler
| language: ruby
rvm:
- 2.1.9
- 2.2.5
- 2.3.1
- ruby-head
before_install: gem install bundler
matrix:
allow_failures:
- rvm: ruby-head
|
Debug Mongo failures on Travis | language: objective-c
before_install:
- brew update
- brew upgrade xctool
- brew install mongodb
- launchctl load /usr/local/opt/mongodb/homebrew.mxcl.mongodb.plist
- sleep 5
before_script:
- mongo mydb_test --eval 'db.addUser("travis", "test");'
script: rake test
| language: objective-c
before_install:
- brew update
- brew upgrade xctool
- brew install mongodb
- launchctl load /usr/local/opt/mongodb/homebrew.mxcl.mongodb.plist
- sleep 5
before_script:
- mongo mydb_test --eval 'db.addUser("travis", "test");'
script: rake test
after_failure:
- cat /usr/local/var/mongodb/mongo.log
|
Change Travis to build Android | language: java
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
jdk:
- oraclejdk8
| language: android
android:
components:
# use the latest revision of Android SDK Tools
- platform-tools
- tools
# The BuildTools version used by your project
- build-tools-23.0.2
# The SDK version used to compile your project
- android-23
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
jdk:
- oraclejdk8
|
Remove golang 1.3, 1.4 from support | language: go
go:
- 1.3
- 1.4.2
- 1.6.3
- 1.7
install: make submodules
script:
- make test
| language: go
go:
- 1.6.3
- 1.7
install: make submodules
script:
- make test
|
Test node versions 6,7,8 and 9 and include mongodb versions 3.4.x and 3.6.x | language: node_js
sudo: false
node_js:
- "7"
- "6"
- "5"
- "4"
- "0.12"
- "0.10"
env:
- MONGODB_VERSION="2.6.11"
- MONGODB_VERSION="3.0.7"
- MONGODB_VERSION="3.2.0"
before_script:
- npm install -g istanbul
- npm install coveralls
- npm install mocha-lcov-reporter
-
- wget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-${MONGODB_VERSION}.tgz -O /tmp/mongodb.tgz
- tar -xvf /tmp/mongodb.tgz
- mkdir /tmp/data
- ${PWD}/mongodb-linux-x86_64-${MONGODB_VERSION}/bin/mongod --dbpath /tmp/data &> /dev/null &
- ${PWD}/mongodb-linux-x86_64-${MONGODB_VERSION}/bin/mongod --version
- until nc -z localhost 27017; do echo Waiting for MongoDB; sleep 1; done
after_script:
- NODE_ENV=test istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage
| language: node_js
sudo: false
node_js:
- "6"
- "7"
- "8"
- "9"
env:
- MONGODB_VERSION="2.6.12"
- MONGODB_VERSION="3.0.15"
- MONGODB_VERSION="3.2.16"
- MONGODB_VERSION="3.4.7"
- MONGODB_VERSION="3.6.2"
before_script:
- wget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-${MONGODB_VERSION}.tgz -O /tmp/mongodb.tgz
- tar -xvf /tmp/mongodb.tgz
- mkdir /tmp/data
- ${PWD}/mongodb-linux-x86_64-${MONGODB_VERSION}/bin/mongod --dbpath /tmp/data &> /dev/null &
- ${PWD}/mongodb-linux-x86_64-${MONGODB_VERSION}/bin/mongod --version
- until nc -z localhost 27017; do echo Waiting for MongoDB; sleep 1; done
after_success: npm run coverage
|
Add package spec for goveralls. | language: go
go:
- 1.1
- tip
env:
global:
- secure: "wF08rryl1Fo5H8WSB2Dwp9In2kqL1yiGNH7OlMDZ4aG0LmBeQRF0c4RJIZBkgLAROSnc77bizpGzhVdvio0u7mXQW3+EV7QOwBhcD1FV5KzGCy9dbha8X9dtl09PkxSRap2V/EiwR3/JuFdlbs3R2TSHyeCfIxZLA13Vj3MfRnw="
install:
- make prepare
script: /home/travis/gopath/bin/goveralls -service travis-ci.org $COVERALLS_TOKEN | language: go
go:
- 1.1
- tip
env:
global:
- secure: "wF08rryl1Fo5H8WSB2Dwp9In2kqL1yiGNH7OlMDZ4aG0LmBeQRF0c4RJIZBkgLAROSnc77bizpGzhVdvio0u7mXQW3+EV7QOwBhcD1FV5KzGCy9dbha8X9dtl09PkxSRap2V/EiwR3/JuFdlbs3R2TSHyeCfIxZLA13Vj3MfRnw="
install:
- make prepare
script: /home/travis/gopath/bin/goveralls -service travis-ci.org -package="./..." $COVERALLS_TOKEN |
Change Perl version to 5.20 | language: perl
perl:
- "5.22"
- "5.20"
- "5.18"
- "5.16"
- "5.14"
- "5.12"
- "5.10"
env:
global:
- HARNESS_OPTIONS=j9
- TEST_EV=1
- TEST_POD=1
- TEST_SOCKS=1
- TEST_TLS=1
install:
- cpanm -n EV IO::Socket::Socks IO::Socket::SSL Net::DNS::Native Test::Pod Test::Pod::Coverage
- cpanm -n --installdeps .
sudo: false
notifications:
email: false
| language: perl
perl:
- "5.20"
- "5.18"
- "5.16"
- "5.14"
- "5.12"
- "5.10"
env:
global:
- HARNESS_OPTIONS=j9
- TEST_EV=1
- TEST_POD=1
- TEST_SOCKS=1
- TEST_TLS=1
install:
- cpanm -n EV IO::Socket::Socks IO::Socket::SSL Net::DNS::Native Test::Pod Test::Pod::Coverage
- cpanm -n --installdeps .
sudo: false
notifications:
email: false
|
Update build script - deploy to openshift | language: node_js
nodejs:
- "0.10.0"
before_install:
- "npm install -g mocha" | language: node_js
nodejs:
- 0.10.0
before_install:
- npm install -g mocha
deploy:
provider: openshift
user: moviestoday256@gmail.com
password:
secure: cy6/GP+O4uiK61nZGtKyhFR3U5GjCByp7USk58o+GWu2UxeJzd5eYABy673/apLsmBS19S819b7B7Ltumzk0/kjGD4GnzgM0jo36RKS2MkEjCzuSuGUQHnCFFt6HTQ72al5LILShB84siisigWSuH5qDODD8z4m4Q6eMnaikaEeXMc2qjcrg9rOFW/i+2Vh/C1qSnP8Dlip3Y22c0af1BnrGs1+/sB/h/WuRo88xJkXF3QdcPmsjIFtUVXMBNVbglk2ABCnHLC5ozoNuzLsj9ETjC3e7qs8NFHDbyr/4A7GpGS790dujZnOyldF0JwnYbnwK+SExS1c/Os7vwPqlwSs8/jplcZ2x7g+gJeaDjebFg0TMXa3rTz429wSfXpU1qFgjZ3m1tFkfIwr1ujNtORrjNWzz01SOTS6ez8JfcLKEJ59rytO2KkMzXaOuaa+Dy28TRxS6kAX1a90vJO7RLjz8nw0mZKGeWs1+db+LQGBj6F+ltnpWh18unjAccg74sUXp8eHNxGpTM4C6PcYr86f8vlgjz9fWCqCOpadONU3KFZEAPWLfoUwZmtLqoN/ibyD5AeJ78/xphdIyWFmIlt3QNgh0ga5aI5EnafODN6DYIIcEMBA/TxY5EsqF7FbN5c0rN78ZtQRIseD3BWHAoD+g9Ox//EkxKERoY6wGZDk=
app: api
domain: moviestoday
on: master
|
Update GH_TOKEN for Travis CI | language: cpp
env:
global:
secure: NhmSoQSnkmcj5BgBtVTd1X5KIECmFHwss8hzDdNmEtbGe3sIBjZksx1RSP67y/bAhuG9l8rrc0V/yMvCJY8KnjirZE9bhcY8jY8Tl1nRuUbruT7QEoufhCi79+9U1KA62PdbvHnNmoRjvwPfe3SirNbDNH0Cc3ugJnYew/c1TLQ=
script: ./test/ci.sh
after_success:
- make javadoc
- .utility/push-javadoc-to-gh-pages.sh | language: cpp
env:
global:
- secure: J32ES3Z/8YVm3tukNdTGyZ8/MdFhU8udkW23l4TsVRLRP95wcIb3HiwwTHCLKXsvDbTj2dOCU91gYbfjWLH7yynf8hpp1nVYbOCqHf3KYFn6cALSGnJATE9nRuwlcvW4Y9A5JooHOq/iSfuF/9eBsWobEkH9BPrmmjrupyoD7z0=
script: ./test/ci.sh
after_success:
- make javadoc
- .utility/push-javadoc-to-gh-pages.sh
|
Add ruby 1.9.2 for ci. | language: ruby
rvm:
- 1.9.3
before_script:
- "npm install -g grunt testacular@canary --quiet"
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
script:
- "./script/ci_all"
| language: ruby
rvm:
- 1.9.2
- 1.9.3
before_script:
- "npm install -g grunt testacular@canary --quiet"
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
script:
- "./script/ci_all"
|
Stop running tests in silent mode | sudo: false
language: node_js
node_js:
- "8"
- "10"
cache:
directories:
- node_modules
os:
- osx
- linux
before_install:
- if [ $TRAVIS_OS_NAME == "linux" ]; then
export CXX="g++-4.9" CC="gcc-4.9" DISPLAY=:99.0;
sh -e /etc/init.d/xvfb start;
sleep 3;
fi
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH=$HOME/.yarn/bin:$PATH
install:
- npm i
- npm run lint
- npm run vscode:prepublish
script:
- npm test --silent
| sudo: false
language: node_js
node_js:
- "8"
- "10"
cache:
directories:
- node_modules
os:
- osx
- linux
before_install:
- if [ $TRAVIS_OS_NAME == "linux" ]; then
export CXX="g++-4.9" CC="gcc-4.9" DISPLAY=:99.0;
sh -e /etc/init.d/xvfb start;
sleep 3;
fi
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH=$HOME/.yarn/bin:$PATH
install:
- npm i
- npm run lint
- npm run vscode:prepublish
script:
- npm test
|
Test on `4` and `5` | language: node_js
node_js:
- 'stable'
- '0.12'
- '0.10'
| language: node_js
node_js:
- '5'
- '4'
- '0.12'
- '0.10'
|
Use latest stable Node.js for beta builds | ### Project specific config ###
language: node_js
matrix:
include:
- os: linux
node_js: "6"
env: ATOM_CHANNEL=stable
- os: linux
node_js: "7"
env: ATOM_CHANNEL=beta
install:
- npm install -g flow-bin
# The linting done in the Atom script doesn't handle flow
after_script:
- npm run lint
### Generic setup follows ###
script:
- curl -s -O https://raw.githubusercontent.com/atom/ci/master/build-package.sh
- chmod u+x build-package.sh
- ./build-package.sh
notifications:
email:
on_success: never
on_failure: change
branches:
only:
- master
- /^greenkeeper/.*$/
git:
depth: 10
sudo: false
dist: trusty
addons:
apt:
packages:
- build-essential
- fakeroot
- git
- libsecret-1-dev
| ### Project specific config ###
language: node_js
matrix:
include:
- os: linux
node_js: "6"
env: ATOM_CHANNEL=stable
- os: linux
node_js: "node"
env: ATOM_CHANNEL=beta
install:
- npm install -g flow-bin
# The linting done in the Atom script doesn't handle flow
after_script:
- npm run lint
### Generic setup follows ###
script:
- curl -s -O https://raw.githubusercontent.com/atom/ci/master/build-package.sh
- chmod u+x build-package.sh
- ./build-package.sh
notifications:
email:
on_success: never
on_failure: change
branches:
only:
- master
- /^greenkeeper/.*$/
git:
depth: 10
sudo: false
dist: trusty
addons:
apt:
packages:
- build-essential
- fakeroot
- git
- libsecret-1-dev
|
Add functional tests to Travis script | language: node_js
node_js:
- 0.11
- 0.10
| language: node_js
node_js:
- 0.11
- 0.10
after_script: npm run functional
|
Add Ruby 2.1.0 to Travis-CI test matrix | language: ruby
rvm:
- 1.9.3
- 2.0.0
script:
- bundle exec rake db:reset
- bundle exec rake
- bundle exec gem build user_impersonate2.gemspec
| language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
script:
- bundle exec rake db:reset
- bundle exec rake
- bundle exec gem build user_impersonate2.gemspec
|
Disable ancient php versions in CI | language:
- php
php:
- 5.6
- 7.2
before_install:
- travis_retry composer self-update
install:
- travis_retry composer update --prefer-dist --no-interaction
script:
- cd tests
- ../vendor/bin/phpunit
| language:
- php
php:
- 7.3
before_install:
- travis_retry composer self-update
install:
- travis_retry composer update --prefer-dist --no-interaction
script:
- cd tests
- ../vendor/bin/phpunit
|
Add PHP 7 on Travis | language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm
matrix:
include:
- php: 5.3
env: deps=low
allow_failures:
- php: hhvm
env:
global:
- deps=no
before_install:
- composer self-update
install:
- if [ "$deps" = "no" ]; then composer --prefer-source install; fi;
- if [ "$deps" = "low" ]; then composer --prefer-source --prefer-lowest --prefer-stable update; fi;
script: phpunit -v
| language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
matrix:
include:
- php: 5.3
env: deps=low
allow_failures:
- php: hhvm
env:
global:
- deps=no
before_install:
- composer self-update
install:
- if [ "$deps" = "no" ]; then composer --prefer-source install; fi;
- if [ "$deps" = "low" ]; then composer --prefer-source --prefer-lowest --prefer-stable update; fi;
script: phpunit -v
|
Stop testing against an older ruby | language: ruby
jdk:
- oraclejdk7
rvm:
- "1.9.3"
# - "1.9.2"
- "1.8.7"
- jruby-19mode
- jruby-18mode
scala:
# - 2.10.0
- 2.9.2
# - 2.9.1
# - 2.8.1
install:
- gem install bundler
- bundle install
- export JRUBY_OPTS="-J-XX:MaxPermSize=312m -J-Xmx1024M"
- export JAVA_OPTS="-Xmx1024m -XX:MaxPermSize=312m"
script: rake ci
notifications:
email:
recipients:
- commits@buildr.apache.org
notifications:
irc: "irc.freenode.org#buildr"
| language: ruby
jdk:
- oraclejdk7
rvm:
- "1.9.3"
# - "1.9.2"
# - "1.8.7"
- jruby-19mode
- jruby-18mode
scala:
# - 2.10.0
- 2.9.2
# - 2.9.1
# - 2.8.1
install:
- gem install bundler
- bundle install
- export JRUBY_OPTS="-J-XX:MaxPermSize=312m -J-Xmx1024M"
- export JAVA_OPTS="-Xmx1024m -XX:MaxPermSize=312m"
script: rake ci
notifications:
email:
recipients:
- commits@buildr.apache.org
notifications:
irc: "irc.freenode.org#buildr"
|
Remove extra space in expeditor config | ---
expeditor:
defaults:
buildkite:
timeout_in_minutes: 30
steps:
- label: run-lint-and-specs-ruby-2.5
command:
- .expeditor/run_linux_tests.sh rake
expeditor:
executor:
docker:
image: ruby:2.5-buster
- label: run-lint-and-specs-ruby-2.6
command:
- .expeditor/run_linux_tests.sh rake
expeditor:
executor:
docker:
image: ruby:2.6-buster
- label: run-lint-and-specs-ruby-2.7
command:
- .expeditor/run_linux_tests.sh rake
expeditor:
executor:
docker:
image: ruby:2.7-buster
- label: run-specs-windows
command:
- bundle install --jobs=7 --retry=3 --without docs debug
- bundle exec rake
expeditor:
executor:
docker:
host_os: windows
| ---
expeditor:
defaults:
buildkite:
timeout_in_minutes: 30
steps:
- label: run-lint-and-specs-ruby-2.5
command:
- .expeditor/run_linux_tests.sh rake
expeditor:
executor:
docker:
image: ruby:2.5-buster
- label: run-lint-and-specs-ruby-2.6
command:
- .expeditor/run_linux_tests.sh rake
expeditor:
executor:
docker:
image: ruby:2.6-buster
- label: run-lint-and-specs-ruby-2.7
command:
- .expeditor/run_linux_tests.sh rake
expeditor:
executor:
docker:
image: ruby:2.7-buster
- label: run-specs-windows
command:
- bundle install --jobs=7 --retry=3 --without docs debug
- bundle exec rake
expeditor:
executor:
docker:
host_os: windows
|
Remove deprecated watch setting again | permalink: pretty
exclude:
- Vagrantfile
- Rakefile.rb
- chef
- css/vendor/
- css/sections/
- css/variables.less
- css/mixins.less
- css/reset.less
- images/favicons.sketch/
- Gemfile
- Gemfile.lock
- vendor
include: [.htaccess, .well-known]
safe: true
watch: true
# lsi: true
title: "Christoph Hochstrasser"
homepage_post_count: 6
paginate: 5
asset_base_urls:
fonts: //assets.christophh.net.s3.amazonaws.com/fonts
markdown: kramdown
kramdown:
input: GFM
hard_wrap: false
disqus:
shortname: "christophhochstrasser"
navigation:
- label: Home
link: /
icon: ss-home
- label: About me
link: /about/me/
icon: ss-heart
- label: Hire me
link: /hire/me/
icon: ss-briefcase
- label: All articles
link: /blog/
icon: ss-notebook
| permalink: pretty
exclude:
- Vagrantfile
- Rakefile.rb
- chef
- css/vendor/
- css/sections/
- css/variables.less
- css/mixins.less
- css/reset.less
- images/favicons.sketch/
- Gemfile
- Gemfile.lock
- vendor
include: [.htaccess, .well-known]
safe: true
# lsi: true
title: "Christoph Hochstrasser"
homepage_post_count: 6
paginate: 5
asset_base_urls:
fonts: //assets.christophh.net.s3.amazonaws.com/fonts
markdown: kramdown
kramdown:
input: GFM
hard_wrap: false
disqus:
shortname: "christophhochstrasser"
navigation:
- label: Home
link: /
icon: ss-home
- label: About me
link: /about/me/
icon: ss-heart
- label: Hire me
link: /hire/me/
icon: ss-briefcase
- label: All articles
link: /blog/
icon: ss-notebook
|
Fix the issue with the visco elastic example (closes '12) | Discretization:
Dim: 1
Final_Time: 20.0
Time_Steps: 40
Horizon_Factor_m_value: 4.0
Influence_Function: 1.0
File:
Name: geometry_dx0_50.csv
Material:
Type: Viscoelastic
Relax_Modulus:
- 4000.0
- 2000.0
- 1000.0
Relax_Time:
- NaN
- 1.0
- 100.0
Boundary:
Condition:
Type:
- Force
- Displacement
Value:
- 40.0
- 0.0
Direction:
- 1
- 1
File:
- force_condition_dx0_50.csv
- displ_condition_1.csv
Shape:
Type: Ramp
Values:
- 1.0
- 8.0
- 11.0
Output:
CSV:
Type:
- Position
File:
- nodes_positions_m4_dx0_50.csv
Solver:
Type: krylov
Tolerance: 1.0e-12
| Discretization:
Dim: 1
Final_Time: 20.0
Time_Steps: 40
Horizon_Factor_m_value: 1.0
Influence_Function: 1.0
File:
Name: geometry_dx0_50.csv
Material:
Type: Viscoelastic
Relax_Modulus:
- 4000.0
- 2000.0
- 1000.0
Relax_Time:
- NaN
- 1.0
- 100.0
Boundary:
Condition:
Type:
- Force
- Displacement
Value:
- 40.0
- 0.0
Direction:
- 1
- 1
File:
- force_condition_dx0_50.csv
- displ_condition_1.csv
Shape:
Type: Ramp
Values:
- 1.0
- 8.0
- 11.0
Output:
CSV:
Type:
- Position
File:
- nodes_positions_m4_dx0_50.csv
Solver:
Type: krylov
Tolerance: 1.0e-12
|
Update from Hackage at 2019-11-04T10:18:13Z | homepage: http://hackage.haskell.org/package/mmsyn5
changelog-type: markdown
hash: 035e4f118206c16e708bf94611d1b53910c19c9e5a1af66fa1f53cb6b02f5d95
test-bench-deps: {}
maintainer: olexandr543@yahoo.com
synopsis: Various additional operations on lists
changelog: "# Revision history for mmsyn5\n\n## 0.1.0.0 -- 2019-11-04\n\n* First version.
Released on an unsuspecting world. Various functions \n most of them are taken from
the mm1 project on GitHub \n (https://github.com/OleksandrZhabenko/mm1).\n\n##
0.1.1.0 -- 2019-11-04\n\n* First version revised A. Fixed an issue with a module
name. Some minor \n documentation improvements.\n\n\n"
basic-deps:
base: ! '>=4.7 && <4.13'
all-versions:
- 0.1.1.0
author: OleksandrZhabenko
latest: 0.1.1.0
description-type: haddock
description: A small library to deal with a little bit more complex operations on
lists than Data.List module
license-name: MIT
| homepage: http://hackage.haskell.org/package/mmsyn5
changelog-type: markdown
hash: 1c3423e62eccd141be8f5ead9b0d66680f8e13e4184138cf5b53b0d310a9f739
test-bench-deps: {}
maintainer: olexandr543@yahoo.com
synopsis: Various additional operations on lists
changelog: "# Revision history for mmsyn5\n\n## 0.1.0.0 -- 2019-11-04\n\n* First version.
Released on an unsuspecting world. Various functions \n most of them are taken from
the mm1 project on GitHub \n (https://github.com/OleksandrZhabenko/mm1).\n\n##
0.1.1.0 -- 2019-11-04\n\n* First version revised A. Fixed an issue with a module
name. Some minor \n documentation improvements.\n\n## 0.1.2.0 -- 2019-11-04\n\n*
First version revised B. Dependencies checking.\n\n\n"
basic-deps:
base: ! '>=4.7 && <4.14'
all-versions:
- 0.1.2.0
author: OleksandrZhabenko
latest: 0.1.2.0
description-type: haddock
description: A small library to deal with a little bit more complex operations on
lists than Data.List module
license-name: MIT
|
Add firewall rules for new hosts to access puppet | # Configuration for "util" host type
##############################################
## Class definitions.
classes:
- apache
- site_profile::jenkins
- site_profile::puppetmaster
##############################################
## Firewall configuration.
site_profile::puppetmaster::firewall_rules:
'110 allow puppet agent from prod-db1':
port: 8140
source: prod-db1.cashmusic.org
'110 allow puppet agent from prod-web1':
port: 8140
source: prod-web1.cashmusic.org
'110 allow puppet agent from prod-web2':
port: 8140
source: prod-web2.cashmusic.org
'110 allow puppet agent from prod-web5':
port: 8140
source: prod-web5.cashmusic.org
site_profile::jenkins::firewall_rules:
'140 allow github hooks':
port: 8080
source: 192.30.252.0/22
##############################################
## Jenkins configuration.
site_profile::jenkins::configure_firewall: false
| # Configuration for "util" host type
##############################################
## Class definitions.
classes:
- apache
- site_profile::jenkins
- site_profile::puppetmaster
##############################################
## Firewall configuration.
site_profile::puppetmaster::firewall_rules:
'110 allow puppet agent from prod-db1':
port: 8140
source: prod-db1.cashmusic.org
'110 allow puppet agent from prod-web1':
port: 8140
source: prod-web1.cashmusic.org
'110 allow puppet agent from prod-web2':
port: 8140
source: prod-web2.cashmusic.org
'110 allow puppet agent from prod-web5':
port: 8140
source: prod-web5.cashmusic.org
'110 allow puppet agent from dev-multi1':
port: 8140
source: dev-multi1.cashmusic.org
'110 allow puppet agent from stage-multi1':
port: 8140
source: stage-multi1.cashmusic.org
site_profile::jenkins::firewall_rules:
'140 allow github hooks':
port: 8080
source: 192.30.252.0/22
##############################################
## Jenkins configuration.
site_profile::jenkins::configure_firewall: false
|
Add codecov to GitHub Actions | # This workflow will build a Java project with Gradle
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
name: Java CI with Gradle
on:
push:
branches:
- master
- '[0-9].*'
pull_request:
branches:
- master
- '[0-9].*'
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
java: [ 8, 11 ]
steps:
- uses: actions/checkout@v2
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: Print tool versions
run: |
java -version
./gradlew --version
- run: ./gradlew assemble
- run: ./gradlew check
| # This workflow will build a Java project with Gradle
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
name: Java CI with Gradle
on:
push:
branches:
- master
- '[0-9].*'
pull_request:
branches:
- master
- '[0-9].*'
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
java: [ 8, 11 ]
steps:
- uses: actions/checkout@v2
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: Print tool versions
run: |
java -version
./gradlew --version
- run: ./gradlew assemble
- run: ./gradlew check
- run: ./gradlew jacocoTestReport aggregateJacocoReport
- name: Upload coverage report
uses: codecov/codecov-action@v1
|
Add linting and test with rust-1.31.1 to github actions | name: CI
on:
- push
jobs:
tests:
name: CI
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
channel: [1.31.1, stable]
env:
RUST_BACKTRACE: full
steps:
- uses: actions/checkout@v2
- name: Install Rust Stable
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.channel }}
profile: minimal
override: true
- name: Cache cargo registry
uses: actions/cache@v2
continue-on-error: true
with:
path: |
~/.cargo/registry
~/.cargo/git
key: ${{ runner.os }}-cargo-
restore-keys: |
${{ runner.os }}-cargo-
- name: run tests
uses: actions-rs/cargo@v1
with:
command: test
args: --release --no-default-features
| name: CI
on:
- push
- pull_request
jobs:
tests:
name: CI
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
channel: [stable]
target:
- x86_64-pc-windows-msvc
- x86_64-pc-windows-gnu
- i686-pc-windows-msvc
- i686-pc-windows-gnu
include:
- channel: stable
target: x86_64-pc-windows-msvc
lint: true
- channel: 1.31.1
target: x86_64-pc-windows-msvc
env:
RUST_BACKTRACE: full
steps:
- uses: actions/checkout@v2
- name: Install rust-${{ matrix.channel }}
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.channel }}
profile: minimal
override: true
- name: Cache cargo registry
uses: actions/cache@v2
continue-on-error: true
with:
path: |
~/.cargo/registry
~/.cargo/git
key: ${{ runner.os }}-cargo-
restore-keys: |
${{ runner.os }}-cargo-
- name: Check formatting
if: matrix.lint
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- name: Lint
if: matrix.lint
uses: actions-rs/cargo@v1
with:
command: clippy
args: --all-features --all-targets
- name: Run tests (no features)
uses: actions-rs/cargo@v1
with:
command: test
args: --release --no-default-features
- name: Run tests (all features)
uses: actions-rs/cargo@v1
with:
command: test
args: --release --all-features
|
Update type of url in hours schema | $schema: http://json-schema.org/draft-07/schema#
additionalProperties: false
required: [name, category, schedule]
properties:
name: {type: string}
subtitle: {type: string}
abbreviation: {type: string}
category: {type: string}
image: {type: string}
isNotice: {type: boolean}
noticeMessage: {type: string}
links:
type: array
items: {$ref: '#/definitions/links'}
schedule:
type: array
items: {$ref: '#/definitions/schedule'}
breakSchedule:
type: object
definitions:
links:
additionalProperties: false
required: [title, url]
properties:
title: {type: string}
url: {type: url}
schedule:
additionalProperties: false
required: [title, hours]
properties:
title: {type: string}
notes: {type: string}
closedForChapelTime: {type: boolean}
isPhysicallyOpen: {type: boolean}
hours:
type: array
items: {$ref: '_defs.json#/definitions/day'}
| $schema: http://json-schema.org/draft-07/schema#
additionalProperties: false
required: [name, category, schedule]
properties:
name: {type: string}
subtitle: {type: string}
abbreviation: {type: string}
category: {type: string}
image: {type: string}
isNotice: {type: boolean}
noticeMessage: {type: string}
links:
type: array
items: {$ref: '#/definitions/links'}
schedule:
type: array
items: {$ref: '#/definitions/schedule'}
breakSchedule:
type: object
definitions:
links:
additionalProperties: false
required: [title, url]
properties:
title: {type: string}
url: {type: string}
schedule:
additionalProperties: false
required: [title, hours]
properties:
title: {type: string}
notes: {type: string}
closedForChapelTime: {type: boolean}
isPhysicallyOpen: {type: boolean}
hours:
type: array
items: {$ref: '_defs.json#/definitions/day'}
|
Update from Hackage at 2021-07-18T19:20:56Z | homepage: https://github.com/ocramz/ad-delcont
changelog-type: markdown
hash: f0afb2ef0d77af109110135e8280cbb1d5406af23558548620cf2a7f02d0f0d0
test-bench-deps: {}
maintainer: ocramz
synopsis: Reverse-mode automatic differentiation with delimited continuations
changelog: |
0.1
First public version
basic-deps:
base: '>=4.7 && <5'
transformers: '>=0.5'
all-versions:
- 0.1.0.0
author: Marco Zocca
latest: 0.1.0.0
description-type: markdown
description: "# ad-delcont\n\nReverse-mode Automatic Differentiation using delimited
continuations (`shift` and `reset`) , as shown in [1]\n\n\n## References\n\n1) Wang
et al, Demystifying Differentiable Programming : Shift/Reset the Penultimate Backpropagator,
\ https://www.cs.purdue.edu/homes/rompf/papers/wang-icfp19.pdf \n"
license-name: BSD-3-Clause
| homepage: https://github.com/ocramz/ad-delcont
changelog-type: markdown
hash: ebcc4e7558a618a95cd1c7cdd570369b2d4f49442b22def0b5fcddb1b5c2720c
test-bench-deps: {}
maintainer: ocramz
synopsis: Reverse-mode automatic differentiation with delimited continuations
changelog: |
0.1
First public version
basic-deps:
base: '>=4.7 && <5'
transformers: '>=0.5'
all-versions:
- 0.1.0.0
- 0.2.0.0
author: Marco Zocca
latest: 0.2.0.0
description-type: markdown
description: "# ad-delcont\n\nReverse-mode Automatic Differentiation using delimited
continuations (`shift` and `reset`) , as shown in [1]\n\n\n## References\n\n1) Wang
et al, Demystifying Differentiable Programming : Shift/Reset the Penultimate Backpropagator,
\ https://www.cs.purdue.edu/homes/rompf/papers/wang-icfp19.pdf \n"
license-name: BSD-3-Clause
|
Update from Hackage at 2019-12-02T08:32:54Z | homepage: https://github.com/cmk/connections
changelog-type: markdown
hash: 926bb67343f7b9ca423cb42813db38d58f06b47c1e785850e2174ee4d30fc131
test-bench-deps:
property: -any
base: ==4.*
connections: -any
hedgehog: -any
maintainer: chris.mckinlay@gmail.com
synopsis: Partial orders & Galois connections.
changelog: |
# Revision history for orders
## 0.0.1 -- YYYY-mm-dd
* First version. Released on an unsuspecting world.
basic-deps:
semigroupoids: ==5.*
property: ! '>=0.0.1 && <1.0'
base: ! '>=4.10 && <5.0'
containers: ! '>=0.4.0 && <0.7'
all-versions:
- 0.0.1
- 0.0.2
author: Chris McKinlay
latest: 0.0.2
description-type: haddock
description: A library for precision rounding using Galois connections.
license-name: BSD-3-Clause
| homepage: https://github.com/cmk/connections
changelog-type: markdown
hash: b3461b73d3b77ee8554d0c97c6c996e02f65d242435b16ac9a4612f29f0028b6
test-bench-deps:
property: -any
base: ==4.*
connections: -any
hedgehog: -any
maintainer: chris.mckinlay@gmail.com
synopsis: Partial orders & Galois connections.
changelog: |
# Revision history for orders
## 0.0.1 -- YYYY-mm-dd
* First version. Released on an unsuspecting world.
basic-deps:
semigroupoids: ==5.*
property: ! '>=0.0.1 && <1.0'
base: ! '>=4.10 && <5.0'
containers: ! '>=0.4.0 && <0.7'
all-versions:
- 0.0.1
- 0.0.2
- 0.0.2.1
author: Chris McKinlay
latest: 0.0.2.1
description-type: haddock
description: A library for precision rounding using Galois connections.
license-name: BSD-3-Clause
|
Remove redundant "entity_name" admin configuration parameter. | entity_name: bot
menu:
icons:
main: bundles/darvinbotdetector/images/admin/detected_bot_main.png
sidebar: bundles/darvinbotdetector/images/admin/detected_bot_sidebar.png
colors:
main: "#6c6c6c"
disabled_routes:
- copy
- delete
- edit
- new
- update-property
sortable_fields:
date: ~
botType: ~
ip: ~
url: ~
responseCode: ~
form:
filter:
fields:
dateFrom: ~
dateTo: ~
botType:
compare_strict: false
ip:
compare_strict: false
url:
compare_strict: false
responseCode:
compare_strict: false
view:
index:
action_widgets:
show_link: ~
fields:
date: ~
botType: ~
ip: ~
url: ~
responseCode: ~
show:
action_widgets: ~
fields:
date: ~
botType: ~
ip: ~
url: ~
responseCode: ~
| menu:
icons:
main: bundles/darvinbotdetector/images/admin/detected_bot_main.png
sidebar: bundles/darvinbotdetector/images/admin/detected_bot_sidebar.png
colors:
main: "#6c6c6c"
disabled_routes:
- copy
- delete
- edit
- new
- update-property
sortable_fields:
date: ~
botType: ~
ip: ~
url: ~
responseCode: ~
form:
filter:
fields:
dateFrom: ~
dateTo: ~
botType:
compare_strict: false
ip:
compare_strict: false
url:
compare_strict: false
responseCode:
compare_strict: false
view:
index:
action_widgets:
show_link: ~
fields:
date: ~
botType: ~
ip: ~
url: ~
responseCode: ~
show:
action_widgets: ~
fields:
date: ~
botType: ~
ip: ~
url: ~
responseCode: ~
|
Update Elixir and Erlang versions in MB project | # ~/.tmuxinator/mastering_bitcoin.yml
name: mastering_bitcoin
root: ~/elixir/mastering_bitcoin
# NOTE: Bitcoin service can't seem to be stopped when shutting down project.
# (starting works fine, but I don't want to forget to stop it lest Bitcoin
# traffic eat up all my bandwidth).
# on_project_start: brew services start bitcoin
# on_project_stop: brew services stop bitcoin
# on_project_exit: brew services stop bitcoin
pre_window:
- asdf local elixir 1.5.2
- asdf local erlang 20.1
startup_window: editor
windows:
- editor: vim
- tests: mix test.watch
- console: iex -S mix
- grip: grip --browser
| # ~/.tmuxinator/mastering_bitcoin.yml
name: mastering_bitcoin
root: ~/elixir/mastering_bitcoin
# NOTE: Bitcoin service can't seem to be stopped when shutting down project.
# (starting works fine, but I don't want to forget to stop it lest Bitcoin
# traffic eat up all my bandwidth).
# on_project_start: brew services start bitcoin
# on_project_stop: brew services stop bitcoin
# on_project_exit: brew services stop bitcoin
pre_window:
- asdf local elixir 1.5.3
- asdf local erlang 20.2
startup_window: editor
windows:
- editor: vim
- tests: mix test.watch
- console: iex -S mix
- grip: grip --browser
|
Fix unit testing config for AppVeyor | version: '{branch}-{build}'
init:
- cmd: git config --global core.autocrlf true
before_build:
- cmd: >-
git submodule update --init --recursive
nuget restore CSF.Security.sln
build:
project: CSF.Security.sln
verbosity: normal | version: '{branch}-{build}'
init:
- cmd: git config --global core.autocrlf true
before_build:
- cmd: >-
git submodule update --init --recursive
nuget restore CSF.Security.sln
build:
project: CSF.Security.sln
verbosity: normal
test:
assemblies:
except:
- '**\Ploeh.AutoFixture.NUnit3.dll' |
Fix names in online-data-migrations release note | ---
upgrade:
- To get rid of long running DB data migrations that must be run offline,
Cinder will now be able to execute them online, on a live cloud. Before
upgrading from Newton to Ocata operator needs to perform all the Newton
data migrations. To achieve that he needs to perform `cinder-manage db
online-data-migrations` until there are no records to be updated. To limit
DB performance impact migrations can be performed in chunks limited by
`--max_number` option. If your intent is to upgrade Cinder in a non-live
manner, you can use `--ignore-state` option safely. Please note that
finishing all the Newton data migrations will be enforced by the first
schema migration in Ocata, so you won't be able to upgrade to Ocata without
that.
| ---
upgrade:
- To get rid of long running DB data migrations that must be run offline,
Cinder will now be able to execute them online, on a live cloud. Before
upgrading from Ocata to Pike, operator needs to perform all the Newton
data migrations. To achieve that he needs to perform `cinder-manage db
online-data-migrations` until there are no records to be updated. To limit
DB performance impact migrations can be performed in chunks limited by
`--max_number` option. If your intent is to upgrade Cinder in a non-live
manner, you can use `--ignore_state` option safely. Please note that
finishing all the Newton data migrations will be enforced by the first
schema migration in Pike, so you won't be able to upgrade to Pike without
that.
|
Send at same rate as status. | port: /dev/ttyUSB0
# 1 same as status from arduino (glitchy!). 4 = every 4 statuses etc
command_rate: 8
# Joystick deadzone
dead_zone: 0.1
# Used to scale the joystick axis
max_pwm_yaw: 50
max_pwm_pitch: 50
max_pwm_lid: 120
# The joints
yaw:
pwm_limit: 50
pos_center_raw: 900
pos_max: 63 # scaled
pos_min: -55 # scaled
p: 0.2
i: 0
d: 1.0
pitch:
pwm_limit: 100
pos_center_raw: 450
pos_max: 500
pos_min: -200
p: 0.6
i: 0.0
d: 0.0
lid:
pwm_limit: 35
pos_center_raw: 484
pos_max: 101
pos_min: -101
p: 0.1
| port: /dev/ttyUSB0
# 1 same as status from arduino (glitchy!). 4 = every 4 statuses etc
command_rate: 1
# Joystick deadzone
dead_zone: 0.1
# Used to scale the joystick axis
max_pwm_yaw: 50
max_pwm_pitch: 50
max_pwm_lid: 120
# The joints
yaw:
pwm_limit: 50
pos_center_raw: 900
pos_max: 63 # scaled
pos_min: -55 # scaled
p: 0.2
i: 0
d: 1.0
pitch:
pwm_limit: 100
pos_center_raw: 450
pos_max: 500
pos_min: -200
p: 0.6
i: 0.0
d: 0.0
lid:
pwm_limit: 35
pos_center_raw: 484
pos_max: 101
pos_min: -101
p: 0.1
|
Add description for user authorization | name: Authorization
description:
projects:
- 10to1/roleify
- access-granted
- acl9
- action_policy
- aegis
- allowy
- authority
- baldwindavid/padlock_authorization
- canable
- canard
- cancan
- cancancan
- cantango
- consul
- cream
- declarative_authorization
- easy_roles
- moulin_rouge
- pundit
- rails-auth
- rend-acl
- restful_acl
- role_model
- roleable
- rolify
- six
- the_role
- timcharper/role_requirement
- trust
- walruz
| name: User Authorization
description:
Narrow down the visibility and accessibility of operations for users
based on roles and similar access control patterns
projects:
- 10to1/roleify
- access-granted
- acl9
- action_policy
- aegis
- allowy
- authority
- baldwindavid/padlock_authorization
- canable
- canard
- cancan
- cancancan
- cantango
- consul
- cream
- declarative_authorization
- easy_roles
- moulin_rouge
- pundit
- rails-auth
- rend-acl
- restful_acl
- role_model
- roleable
- rolify
- six
- the_role
- timcharper/role_requirement
- trust
- walruz
|
Remove www from national careers service homepage | ---
site: esfa_nationalcareersservice
whitehall_slug: education-and-skills-funding-agency
homepage: http://www.nationalcareers.service.gov.uk
tna_timestamp: 20190309013456
host: nationalcareersservice.direct.gov.uk
aliases:
- www.nationalcareersservice.direct.gov.uk
- staging.nationalcareersservice.direct.gov.uk
| ---
site: esfa_nationalcareersservice
whitehall_slug: education-and-skills-funding-agency
homepage: http://nationalcareers.service.gov.uk
tna_timestamp: 20190309013456
host: nationalcareersservice.direct.gov.uk
aliases:
- www.nationalcareersservice.direct.gov.uk
- staging.nationalcareersservice.direct.gov.uk
|
Make CA lifetime 365 days, not 30 | ---
- file:
path: "{{ etcd_ca_dir }}/{{ item }}"
state: directory
mode: 0700
owner: root
group: root
with_items:
- certs
- crl
- fragments
- command: cp /etc/pki/tls/openssl.cnf ./
args:
chdir: "{{ etcd_ca_dir }}/fragments"
creates: "{{ etcd_ca_dir }}/fragments/openssl.cnf"
- template:
dest: "{{ etcd_ca_dir }}/fragments/openssl_append.cnf"
src: openssl_append.j2
- assemble:
src: "{{ etcd_ca_dir }}/fragments"
dest: "{{ etcd_ca_dir }}/openssl.cnf"
- command: touch index.txt
args:
chdir: "{{ etcd_ca_dir }}"
creates: "{{ etcd_ca_dir }}/index.txt"
- copy:
dest: "{{ etcd_ca_dir }}/serial"
content: "01"
force: no
- command: >
openssl req -config openssl.cnf -newkey rsa:4096
-keyout ca.key -new -out ca.crt -x509 -extensions etcd_v3_ca_self
-batch -nodes -subj /CN=etcd-signer@{{ ansible_date_time.epoch }}
args:
chdir: "{{ etcd_ca_dir }}"
creates: "{{ etcd_ca_dir }}/ca.crt"
environment:
SAN: ''
| ---
- file:
path: "{{ etcd_ca_dir }}/{{ item }}"
state: directory
mode: 0700
owner: root
group: root
with_items:
- certs
- crl
- fragments
- command: cp /etc/pki/tls/openssl.cnf ./
args:
chdir: "{{ etcd_ca_dir }}/fragments"
creates: "{{ etcd_ca_dir }}/fragments/openssl.cnf"
- template:
dest: "{{ etcd_ca_dir }}/fragments/openssl_append.cnf"
src: openssl_append.j2
- assemble:
src: "{{ etcd_ca_dir }}/fragments"
dest: "{{ etcd_ca_dir }}/openssl.cnf"
- command: touch index.txt
args:
chdir: "{{ etcd_ca_dir }}"
creates: "{{ etcd_ca_dir }}/index.txt"
- copy:
dest: "{{ etcd_ca_dir }}/serial"
content: "01"
force: no
- command: >
openssl req -config openssl.cnf -newkey rsa:4096
-keyout ca.key -new -out ca.crt -x509 -extensions etcd_v3_ca_self
-batch -nodes -subj /CN=etcd-signer@{{ ansible_date_time.epoch }}
-days 365
args:
chdir: "{{ etcd_ca_dir }}"
creates: "{{ etcd_ca_dir }}/ca.crt"
environment:
SAN: ''
|
Remove compatibility with MOS 7.0 | # Plugin name
name: elasticsearch_kibana
# Human-readable name for your plugin
title: The Elasticsearch-Kibana Server Plugin
# Plugin version
version: '0.9.0'
# Description
description: Deploy Elasticsearch server and the Kibana web interface (refer to the Elasticsearch-Kibana user guide for instructions).
# Required fuel version
fuel_version: ['7.0', '8.0']
# Licences
licenses: ['Apache License Version 2.0']
# Specify author or company name
authors: ['Mirantis Inc.']
# A link to the plugin homepage
homepage: 'https://github.com/stackforge/fuel-plugin-elasticsearch-kibana'
groups: ['monitoring']
# The plugin is compatible with releases in the list
releases:
- os: ubuntu
version: 2015.1.0-8.0
mode: ['ha']
deployment_scripts_path: deployment_scripts/
repository_path: repositories/ubuntu
- os: ubuntu
version: 2015.1.0-7.0
mode: ['ha']
deployment_scripts_path: deployment_scripts/
repository_path: repositories/ubuntu
# Version of plugin package
package_version: '3.0.0'
| # Plugin name
name: elasticsearch_kibana
# Human-readable name for your plugin
title: The Elasticsearch-Kibana Server Plugin
# Plugin version
version: '0.9.0'
# Description
description: Deploy Elasticsearch server and the Kibana web interface (refer to the Elasticsearch-Kibana user guide for instructions).
# Required fuel version
fuel_version: ['8.0']
# Licences
licenses: ['Apache License Version 2.0']
# Specify author or company name
authors: ['Mirantis Inc.']
# A link to the plugin homepage
homepage: 'https://github.com/stackforge/fuel-plugin-elasticsearch-kibana'
groups: ['monitoring']
# The plugin is compatible with releases in the list
releases:
- os: ubuntu
version: 2015.1.0-8.0
mode: ['ha']
deployment_scripts_path: deployment_scripts/
repository_path: repositories/ubuntu
# Version of plugin package
package_version: '3.0.0'
|
Enable GHC 9.2.3 on CI | name: ci
on:
push:
branches:
- master
pull_request:
jobs:
cabal:
runs-on: ${{ matrix.os }}
strategy:
matrix:
ghc: ["8.6.5", "8.8.4", "8.10.7", "9.0.2"]
cabal: ["3.6.2.0"]
os: [ubuntu-latest, macOS-latest]
name: build and test (cabal)
steps:
- uses: actions/checkout@v2
- name: Run Haskell
uses: haskell/actions/setup@v1
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: ${{ matrix.cabal }}
- run: |
cabal build --enable-tests && cabal test
stack:
name: build and test (stack)
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macOS-latest]
steps:
- uses: actions/checkout@v2
- uses: haskell/actions/setup@v1
with:
ghc-version: "9.0.2"
enable-stack: true
stack-version: "latest"
- run: |
stack build && stack test
| name: ci
on:
push:
branches:
- master
pull_request:
jobs:
cabal:
runs-on: ${{ matrix.os }}
strategy:
matrix:
ghc: ["8.6.5", "8.8.4", "8.10.7", "9.0.2", "9.2.3"]
cabal: ["3.6.2.0"]
os: [ubuntu-latest, macOS-latest]
name: build and test (cabal)
steps:
- uses: actions/checkout@v2
- name: Run Haskell
uses: haskell/actions/setup@v1
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: ${{ matrix.cabal }}
- run: |
cabal build --enable-tests && cabal test
stack:
name: build and test (stack)
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macOS-latest]
steps:
- uses: actions/checkout@v2
- uses: haskell/actions/setup@v1
with:
ghc-version: "9.2.3"
enable-stack: true
stack-version: "latest"
- run: |
stack build && stack test
|
Increase lease time of controller and webhook | # Copyright 2020 Tekton Authors LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
apiVersion: v1
kind: ConfigMap
metadata:
name: config-leader-election
namespace: tekton-pipelines
labels:
app.kubernetes.io/instance: default
app.kubernetes.io/part-of: tekton-pipelines
data:
# An inactive but valid configuration follows; see example.
leaseDuration: "15s"
renewDeadline: "10s"
retryPeriod: "2s"
| # Copyright 2020 Tekton Authors LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
apiVersion: v1
kind: ConfigMap
metadata:
name: config-leader-election
namespace: tekton-pipelines
labels:
app.kubernetes.io/instance: default
app.kubernetes.io/part-of: tekton-pipelines
data:
# An inactive but valid configuration follows; see example.
lease-duration: "60s"
renew-deadline: "40s"
retry-period: "10s"
|
Update from Forestry.io - Updated Forestry configuration | ---
new_page_extension: md
auto_deploy: false
admin_path:
webhook_url:
sections:
upload_dir: uploads
public_path: "/uploads"
front_matter_path: ''
use_front_matter_path: false
file_template: ":filename:"
build:
install_dependencies_command: npm install
preview_docker_image: forestryio/node:12
mount_path: "/srv"
working_dir: "/srv"
instant_preview_command: npm run develop
| ---
new_page_extension: md
auto_deploy: false
admin_path:
webhook_url:
sections:
- type: directory
path: src/_posts
label: Posts
create: all
match: "**/*"
upload_dir: uploads
public_path: "/uploads"
front_matter_path: ''
use_front_matter_path: false
file_template: ":filename:"
build:
install_dependencies_command: npm install
preview_docker_image: forestryio/node:12
mount_path: "/srv"
working_dir: "/srv"
instant_preview_command: npm run develop
|
Fix bad syntax in base-packages | ---
# httplib2 is required in order to use ansible's uri module
- name: install httplib2
sudo: true
apt: pkg="{{python_pkg_prefix}}-httplib2"
- name: install some common ground
apt: pkg=$item state=installed update-cache=yes
with_items:
- build-essential
- git-core
- unzip
| ---
# httplib2 is required in order to use ansible's uri module
- name: install httplib2
sudo: true
apt: pkg="{{python_pkg_prefix}}-httplib2"
- name: install some common ground
apt: pkg={{item}} state=installed update-cache=yes
with_items:
- build-essential
- git-core
- unzip
|
Add support for repository dispatch | on:
push:
branches:
- master
jobs:
build-docker-image:
runs-on: ubuntu-latest
name: Build Docker Image
steps:
- uses: actions/checkout@v1
- name: Build image
id: build-image
uses: OGGM/docker-build-and-push-action@v1
with:
path: ./deployment/docker
name: oggm/oggm
force_pull: true
no_push: true
tmp_tag: oggm:test
- name: Test image
id: test-image
run: docker run --rm oggm:test /root/test.sh
- name: Push image
id: push-image
uses: OGGM/docker-build-and-push-action@v1
with:
user: ${{ secrets.DockerhubUser }}
pass: ${{ secrets.DockerhubPass }}
path: ./deployment/docker
name: oggm/oggm
no_cache: false
date_tag: true
commit_tag: true
| on:
push:
branches:
- master
repository_dispatch: []
jobs:
build-docker-image:
runs-on: ubuntu-latest
name: Build Docker Image
steps:
- uses: actions/checkout@v1
- name: Build image
id: build-image
uses: OGGM/docker-build-and-push-action@v1
with:
path: ./deployment/docker
build_args: GITHUB_SHA,GITHUB_REPOSITORY
name: oggm/oggm
force_pull: true
no_push: true
tmp_tag: oggm:test
- name: Test image
id: test-image
run: docker run --rm oggm:test /root/test.sh
- name: Push image
id: push-image
uses: OGGM/docker-build-and-push-action@v1
with:
user: ${{ secrets.DockerhubUser }}
pass: ${{ secrets.DockerhubPass }}
path: ./deployment/docker
build_args: GITHUB_SHA,GITHUB_REPOSITORY
name: oggm/oggm
no_cache: false
date_tag: true
commit_tag: true
|
Increase k8s replicaCount to 2 |
fullnameOverride: "web"
replicaCount: 1
envFromSecret: {}
nodeSelector: {}
affinity: {}
tolerations: []
podSecurityContext:
fsGroup: 65534 # nobody
service:
port: 3000
containers:
- name: web
securityContext:
runAsUser: 65534 # nobody
allowPrivilegeEscalation: false
resources:
requests:
cpu: 100m
memory: 128Mi
limits:
memory: 768Mi
#livenessProbe:
# path: /alive?
# port: 3000
#readinessProbe:
# path: /ready?
# port: 3000
|
fullnameOverride: "web"
replicaCount: 2
envFromSecret: {}
nodeSelector: {}
affinity: {}
tolerations: []
podSecurityContext:
fsGroup: 65534 # nobody
service:
port: 3000
containers:
- name: web
securityContext:
runAsUser: 65534 # nobody
allowPrivilegeEscalation: false
resources:
requests:
cpu: 100m
memory: 128Mi
limits:
memory: 768Mi
#livenessProbe:
# path: /alive?
# port: 3000
#readinessProbe:
# path: /ready?
# port: 3000
|
Update from Hackage at 2020-01-14T05:54:59Z | homepage: ''
changelog-type: markdown
hash: 279a9bfc302c17e2dd1a02df40f93dd722dbca4229810b9e9d3faf39e8a5b90a
test-bench-deps: {}
maintainer: kazu@iij.ad.jp
synopsis: Simple network runner library
changelog: |
# Revision history for network-run
## 0.0.0
* First version.
basic-deps:
base: ! '>=4 && <5'
network: ! '>=3.1.0'
all-versions:
- 0.0.0
- 0.0.1
- 0.1.0
- 0.2.0
- 0.2.1
author: Kazu Yamamoto
latest: 0.2.1
description-type: haddock
description: Simple functions to run network clients and servers.
license-name: BSD-3-Clause
| homepage: ''
changelog-type: markdown
hash: 34fcfda2c0e1784913bd51f4ce215f0b7ac33e37b02386132d9260982854fc22
test-bench-deps: {}
maintainer: kazu@iij.ad.jp
synopsis: Simple network runner library
changelog: |
# Revision history for network-run
## 0.0.0
* First version.
basic-deps:
bytestring: -any
base: ! '>=4 && <5'
network: ! '>=3.1.0'
all-versions:
- 0.0.0
- 0.0.1
- 0.1.0
- 0.2.0
- 0.2.1
- 0.2.2
author: Kazu Yamamoto
latest: 0.2.2
description-type: haddock
description: Simple functions to run network clients and servers.
license-name: BSD-3-Clause
|
Add deployment to GitHub Pages | name: Create search index
on:
push:
branches:
- master
jobs:
jekyll:
runs-on: ubuntu-latest
environment: jekyll
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 2
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
working-directory: docs
bundler-cache: true
- name: Index changed posts
env:
ELASTICSEARCH_URL: ${{ secrets.ELASTICSEARCH_URL }}
ELASTICSEARCH_ACCESS_TOKEN: ${{ secrets.ELASTICSEARCH_ACCESS_TOKEN }}
working-directory: docs
run: |
git diff --name-only HEAD~1..HEAD > changes.txt
git diff --name-only HEAD..HEAD~1 >> changes.txt
bundle exec jekyll build
| name: Create search index
on:
push:
branches:
- master
jobs:
jekyll:
runs-on: ubuntu-latest
environment: jekyll
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 2
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
working-directory: docs
bundler-cache: true
- name: Index changed posts
env:
ELASTICSEARCH_URL: ${{ secrets.ELASTICSEARCH_URL }}
ELASTICSEARCH_ACCESS_TOKEN: ${{ secrets.ELASTICSEARCH_ACCESS_TOKEN }}
working-directory: docs
run: |
git diff --name-only HEAD~1..HEAD > changes.txt
git diff --name-only HEAD..HEAD~1 >> changes.txt
bundle exec jekyll build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/_site
|
Use `text` reporter along with `lcovonly` | exclude:
- '.grunt/**'
- 'tests/**'
- '*.js'
reporter: lcovonly
cache-dir: .nyc_cache
| exclude:
- '.grunt/**'
- 'tests/**'
- '*.js'
reporter: [lcovonly, text]
cache-dir: .nyc_cache
|
Fix typo in training slide | name: Wikidata WikiProjects
id: 56
description: |
In this module you will...
* learn where to go to coordinate editing efforts on Wikidata
* explore the different parts of a WikiProjects
* understand how to join and interact with other editors on WikiProject
estimated_ttc: 15 minutes
slides:
- slug: wikidataprojects #5601
- slug: wikidataproject-pages #5602
- slug: wikidataproject-pages-cont #5603
- slug: wikiproject-data-models #5604
- slug: joining-a-wikidata-wikiproject #5605
- slug: project-chat-wikidataprojects #5606
- slug: data-models-quiz-wikidataprojects #5607
- slug: activities-wikidata-wikiproject #5608
- slug: thats-all-wikidataprojects #5609
| name: Wikidata WikiProjects
id: 56
description: |
In this module you will...
* learn where to go to coordinate editing efforts on Wikidata
* explore the different parts of a WikiProjects
* understand how to join and interact with other editors on WikiProjects
estimated_ttc: 15 minutes
slides:
- slug: wikidataprojects #5601
- slug: wikidataproject-pages #5602
- slug: wikidataproject-pages-cont #5603
- slug: wikiproject-data-models #5604
- slug: joining-a-wikidata-wikiproject #5605
- slug: project-chat-wikidataprojects #5606
- slug: data-models-quiz-wikidataprojects #5607
- slug: activities-wikidata-wikiproject #5608
- slug: thats-all-wikidataprojects #5609
|
Update from Hackage at 2016-11-25T13:01:15Z | homepage: ''
changelog-type: markdown
hash: d0f74d44876637dda076b8e4a9c06f48abb84aba7421cca7dada01d47727bf23
test-bench-deps: {}
maintainer: nboldi@elte.hu
synopsis: Fuseable type-class based generics
changelog: ! "# Revision history for classyplate\r\n\r\n## 0.1.0.0 -- YYYY-mm-dd\r\n\r\n*
First version. Released on an unsuspecting world.\r\n"
basic-deps:
base: ! '>=4.9 && <4.10'
type-list: ! '>=0.5 && <0.6'
template-haskell: ! '>=2.11 && <2.12'
all-versions:
- '0.1.0.0'
author: Nemeth Boldizsar
latest: '0.1.0.0'
description-type: haddock
description: ''
license-name: BSD3
| homepage: ''
changelog-type: markdown
hash: e9c44fdfdcb5a6fe8a5a86b8a8d152a3cea0369c822b126689f84f36ff05890a
test-bench-deps: {}
maintainer: nboldi@elte.hu
synopsis: Fuseable type-class based generics
changelog: ! "# Revision history for classyplate\r\n\r\n## 0.1.0.0 -- YYYY-mm-dd\r\n\r\n*
First version. Released on an unsuspecting world.\r\n"
basic-deps:
base: ! '>=4.9 && <4.10'
type-list: ! '>=0.5 && <0.6'
template-haskell: ! '>=2.11 && <2.12'
all-versions:
- '0.1.0.0'
- '0.2.0.0'
author: Nemeth Boldizsar
latest: '0.2.0.0'
description-type: haddock
description: ''
license-name: BSD3
|
Update Mergify for new name | pull_request_rules:
- name: automatic merge for Renovate pull requests
conditions:
- author=renovate[bot]
- status-success=CodeSniffer
- status-success=Composer Install
- status-success=Mess Detector
- status-success=PHPStan
- status-success=Phan
- status-success=Syntax
- status-success=build
- status-success=continuous-integration/styleci/pr
- status-success=continuous-integration/styleci/push
actions:
merge:
method: merge
delete_head_branch: {}
| pull_request_rules:
- name: automatic merge for Renovate pull requests
conditions:
- author=renovate[bot]
- status-success=CodeSniffer
- status-success=Composer Install
- status-success=Mess Detector
- status-success=PHPStan
- status-success=Phan
- status-success=Syntax
- status-success=NodeCI
- status-success=continuous-integration/styleci/pr
- status-success=continuous-integration/styleci/push
actions:
merge:
method: merge
delete_head_branch: {}
|
Fix typo in Rubocop config | ---
require:
- rubocop-performance
AllCops:
DisplayCopNames: true
Metrics/LineLength:
Max: 150
Metrics/BlockLength:
Exclude:
- 'spec/**/*_spec.rb'
Style/Documentation:
Enabled: No
Naming/FileName:
Enabled: No
| ---
require:
- rubocop-performance
AllCops:
DisplayCopNames: true
Layout/LineLength:
Max: 150
Metrics/BlockLength:
Exclude:
- 'spec/**/*_spec.rb'
Style/Documentation:
Enabled: No
Naming/FileName:
Enabled: No
|
Update from Forestry.io - Updated Forestry configuration | ---
label: The Go Programming Language
hide_body:
is_partial:
fields:
- name: date
label: Date
type: datetime
hidden: false
default: ''
- name: title
label: Title
type: text
hidden: false
default: ''
| ---
label: micropost
hide_body: false
is_partial: false
fields:
- name: date
label: Date
type: datetime
hidden: false
default: ''
- name: title
label: Title
type: text
hidden: false
default: ''
|
Test on modern ruby releases | rvm:
- 1.9.3
- 2.0.0
script:
- bundle exec foodcritic -f any .
- bundle exec rspec --color --format progress
- bundle exec rubocop
| rvm:
- 2.0
- 2.1
- 2.2
script:
- bundle exec foodcritic -f any .
- bundle exec rspec --color --format progress
- bundle exec rubocop
|
Configure Travis for better build performance | language: ruby
before_install:
- gem install bundler
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
- jruby
- rbx
gemfile:
- Gemfile
- gemfiles/Gemfile-4-0-stable
- gemfiles/Gemfile-4-1-stable
notifications:
email: false
campfire:
secure: "CGWvthGkBKNnTnk9YSmf9AXKoiRI33fCl5D3jU4nx3cOPu6kv2R9nMjt9EAo\nOuS4Q85qNSf4VNQ2cUPNiNYSWQ+XiTfivKvDUw/QW9r1FejYyeWarMsSBWA+\n0fADjF1M2dkDIVLgYPfwoXEv7l+j654F1KLKB69F0F/netwP9CQ="
| sudo: false
language: ruby
cache: bundler
before_install:
- gem install bundler
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
- jruby
- rbx
gemfile:
- Gemfile
- gemfiles/Gemfile-4-0-stable
- gemfiles/Gemfile-4-1-stable
notifications:
email: false
campfire:
secure: "CGWvthGkBKNnTnk9YSmf9AXKoiRI33fCl5D3jU4nx3cOPu6kv2R9nMjt9EAo\nOuS4Q85qNSf4VNQ2cUPNiNYSWQ+XiTfivKvDUw/QW9r1FejYyeWarMsSBWA+\n0fADjF1M2dkDIVLgYPfwoXEv7l+j654F1KLKB69F0F/netwP9CQ="
|
Set flag to yes for installation | language: node_js
node_js:
- "8"
- "7"
- "6"
sudo: true
cache:
directories:
- node_modules
before_install:
- sudo add-apt-repository ppa:mc3man/trusty-media
- sudo apt-get -qq update
- sudo apt-get install -y ffmpeg
install:
- npm install
script:
- grunt jshint
- npm test
after_success:
- npm run coverage
env:
- ENV=test LOCALE=en
addons:
artifacts:
s3_region: eu-west-2
target_paths: $TRAVIS_BUILD_NUMBER
paths:
- ./logs
| language: node_js
node_js:
- "8"
- "7"
- "6"
sudo: true
cache:
directories:
- node_modules
before_install:
- sudo add-apt-repository -y ppa:mc3man/trusty-media
- sudo apt-get -qq update
- sudo apt-get install -y ffmpeg
install:
- npm install
script:
- grunt jshint
- npm test
after_success:
- npm run coverage
env:
- ENV=test LOCALE=en
addons:
artifacts:
s3_region: eu-west-2
target_paths: $TRAVIS_BUILD_NUMBER
paths:
- ./logs
|
Switch to Travis-CI's xenial images | language: python
python:
- "3.5"
- "3.6"
- "3.6-dev"
- "3.7-dev"
- "nightly"
- "pypy3"
# Enable 3.7 without globally enabling sudo and dist: xenial for other
# build jobs; see https://github.com/travis-ci/travis-ci/issues/9815
matrix:
include:
- python: 3.7
dist: xenial
sudo: true
services:
- redis-server
install:
- pip install -r requirements.txt -r requirements-test.txt
- pip install coveralls
before_script:
- psql -c 'create database mygpo_test;' -U postgres
script:
- pytest --cov=mygpo/ --cov-branch
after_script:
- coveralls
env:
- DATABASE_URL="postgres://postgres@localhost/mygpo_test"
sudo: false
| language: python
dist: xenial
python:
- "3.5"
- "3.6"
- "3.7"
- "3.6-dev"
- "3.7-dev"
- "nightly"
- "pypy3"
services:
- redis-server
- postgresql
addons:
postgresql: "10"
install:
- pip install -r requirements.txt -r requirements-test.txt
- pip install coveralls
before_script:
- psql -c "ALTER USER travis WITH PASSWORD 'travis';"
- psql -c 'create database mygpo_test;' -U postgres
script:
- pytest --cov=mygpo/ --cov-branch
after_script:
- coveralls
env:
- DATABASE_URL="postgres://travis:travis@localhost/mygpo_test"
|
Make sure rubygems is compatible with 1.8 | language: ruby
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- jruby-18mode
- jruby-19mode
- 2.0.0
- rbx
before_install:
- sudo apt-get update
- sudo apt-get install libgirepository1.0-dev gobject-introspection
| language: ruby
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- jruby-18mode
- jruby-19mode
- 2.0.0
- rbx
before_install:
- sudo apt-get update
- sudo apt-get install libgirepository1.0-dev gobject-introspection
- gem update --system 2.1.11
- gem --version
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.