Instruction stringlengths 14 778 | input_code stringlengths 0 4.24k | output_code stringlengths 1 5.44k |
|---|---|---|
Disable similar code checks in code climate | ---
engines:
duplication:
enabled: true
config:
languages:
- javascript
exclude_fingerprints:
eslint:
enabled: true
fixme:
enabled: true
ratings:
paths:
- "**.js"
| ---
engines:
duplication:
enabled: true
config:
languages:
- javascript
checks:
Similar code:
enabled: false
exclude_fingerprints:
eslint:
enabled: true
fixme:
enabled: true
ratings:
paths:
- "**.js"
|
Fix code coverage configuration for Scrutinizer CI | build:
environment:
python: 3.7.7
dependencies:
override:
- "pip install -r requirements.txt -r requirements-test.txt"
nodes:
analysis:
tests:
override:
- js-scrutinizer-run
- py-scrutinizer-run
coverage:
tests:
override:
- command:
coverage: 'pytest --cov=byceps tests'
file: '.coverage'
format: 'py-cc'
checks:
python:
duplicate_code: false
| build:
environment:
python: 3.7.7
dependencies:
override:
- "pip install -r requirements.txt -r requirements-test.txt"
nodes:
analysis:
tests:
override:
- js-scrutinizer-run
- py-scrutinizer-run
coverage:
tests:
override:
- command: 'pytest --cov=byceps tests'
coverage:
file: '.coverage'
format: 'py-cc'
checks:
python:
duplicate_code: false
|
Use version 2.4 as TargetVersion for Rubocop. | inherit_gem:
rubocop-shopify: rubocop.yml
require:
- ./lib/statsd/instrument/rubocop.rb
AllCops:
TargetRubyVersion: 2.3
UseCache: true
CacheRootDirectory: tmp/rubocop
Exclude:
- statsd-instrument.gemspec
Naming/FileName:
Enabled: true
Exclude:
- lib/statsd-instrument.rb
# Enable our own cops on our own repo
StatsD/MetricReturnValue:
Enabled: true
StatsD/MetricValueKeywordArgument:
Enabled: true
StatsD/PositionalArguments:
Enabled: true
StatsD/SplatArguments:
Enabled: true
StatsD/MetaprogrammingPositionalArguments:
Enabled: true
StatsD/MeasureAsDistArgument:
Enabled: true
StatsD/MetricPrefixArgument:
Enabled: true
| inherit_gem:
rubocop-shopify: rubocop.yml
require:
- ./lib/statsd/instrument/rubocop.rb
AllCops:
TargetRubyVersion: 2.4
UseCache: true
CacheRootDirectory: tmp/rubocop
Exclude:
- statsd-instrument.gemspec
Naming/FileName:
Enabled: true
Exclude:
- lib/statsd-instrument.rb
# Enable our own cops on our own repo
StatsD/MetricReturnValue:
Enabled: true
StatsD/MetricValueKeywordArgument:
Enabled: true
StatsD/PositionalArguments:
Enabled: true
StatsD/SplatArguments:
Enabled: true
StatsD/MetaprogrammingPositionalArguments:
Enabled: true
StatsD/MeasureAsDistArgument:
Enabled: true
StatsD/MetricPrefixArgument:
Enabled: true
|
Set resource limit for kube-ui addon container. | apiVersion: v1
kind: ReplicationController
metadata:
name: kube-ui-v1
namespace: default
labels:
k8s-app: kube-ui
version: v1
kubernetes.io/cluster-service: "true"
spec:
replicas: 1
selector:
k8s-app: kube-ui
version: v1
template:
metadata:
labels:
k8s-app: kube-ui
version: v1
kubernetes.io/cluster-service: "true"
spec:
containers:
- name: kube-ui
image: gcr.io/google_containers/kube-ui:v1
ports:
- containerPort: 8080
| apiVersion: v1
kind: ReplicationController
metadata:
name: kube-ui-v1
namespace: default
labels:
k8s-app: kube-ui
version: v1
kubernetes.io/cluster-service: "true"
spec:
replicas: 1
selector:
k8s-app: kube-ui
version: v1
template:
metadata:
labels:
k8s-app: kube-ui
version: v1
kubernetes.io/cluster-service: "true"
spec:
containers:
- name: kube-ui
image: gcr.io/google_containers/kube-ui:v1
resources:
limits:
cpu: 100m
memory: 50Mi
ports:
- containerPort: 8080
|
Use Dependabot to update GitHub Actions | version: 2
updates:
- package-ecosystem: nuget
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10
| version: 2
updates:
- package-ecosystem: nuget
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: daily
|
Build with Maven 3.3.9 on AppVeyor | version: '{build}'
skip_tags: true
clone_depth: 10
environment:
matrix:
- JAVA_HOME: C:\Program Files\Java\jdk1.7.0
- JAVA_HOME: C:\Program Files\Java\jdk1.8.0
install:
- ps: >-
$MVNDIR = 'C:\bin\apache-maven-3.3.1\'
if(!(Test-Path -Path $MVNDIR )){
Write-Host (Test-Path -Path $MVNDIR)
Write-Host 'Installing Maven'
cinst maven -Version 3.3.1
} else {
Write-Host 'Found Maven cached installation'
}
(gc etc\toolchains.xml).replace('[JDK6]', $env:JAVA_HOME) | sc $env:TEMP\toolchains.xml
# Note: env variables are not correctly updated by choco (setting it manually)
# Prepend Java entry, remove Ruby entry (C:\Ruby193\bin;) from PATH
- cmd: SET PATH=C:\bin\apache-maven-3.3.1\bin;%JAVA_HOME%\bin;%PATH:C:\Ruby193\bin;=%
- cmd: mvn --version
- cmd: java -version
build_script:
- mvn clean package -B -Dmaven.test.skip=true -t %TEMP%/toolchains.xml
test_script:
- mvn test -B -t %TEMP%/toolchains.xml
cache:
- C:\bin\apache-maven-3.3.1\
| version: '{build}'
skip_tags: true
clone_depth: 10
environment:
matrix:
- JAVA_HOME: C:\Program Files\Java\jdk1.7.0
- JAVA_HOME: C:\Program Files\Java\jdk1.8.0
install:
- ps: >-
$MVNDIR = 'C:\tools\apache-maven-3.3.9\'
if(!(Test-Path -Path $MVNDIR )){
Write-Host (Test-Path -Path $MVNDIR)
Write-Host 'Installing Maven'
cinst maven -Version 3.3.9
} else {
Write-Host 'Found Maven cached installation'
}
(gc etc\toolchains.xml).replace('[JDK6]', $env:JAVA_HOME) | sc $env:TEMP\toolchains.xml
# Note: env variables are not correctly updated by choco (setting it manually)
# Prepend Java entry, remove Ruby entry (C:\Ruby193\bin;) from PATH
- cmd: SET PATH=C:\tools\apache-maven-3.3.9\bin;%JAVA_HOME%\bin;%PATH:C:\Ruby193\bin;=%
- cmd: mvn --version
- cmd: java -version
build_script:
- mvn clean package -B -Dmaven.test.skip=true -t %TEMP%/toolchains.xml
test_script:
- mvn test -B -t %TEMP%/toolchains.xml
cache:
- C:\tools\apache-maven-3.3.9\
|
Update travis build instructions for VS 2017 | version: 1.0.{build}
branches:
only:
- master
- staging_master
image: Visual Studio 2015
clone_depth: 1
install:
- .\Configure_MSVC.bat
# - cd build-msvc
build:
parallel: true
project: build-msvc\BitFunnel_CMake.sln
test_script:
- cd build-msvc
- ctest -C Debug --verbose
# TODO: Add Release tests here too. | version: 1.0.{build}
branches:
only:
- master
- staging_master
image: Visual Studio 2017
clone_depth: 1
install:
- .\Configure_MSVC.bat
# - cd build-msvc
build:
parallel: true
project: build-msvc\BitFunnel_CMake.sln
test_script:
- cd build-msvc
- ctest -C Debug --verbose
# TODO: Add Release tests here too. |
Add io.js testing in Appveyor | # appveyor file
# http://www.appveyor.com/docs/appveyor-yml
init:
- git config --global core.autocrlf input
# what combinations to test
environment:
matrix:
- nodejs_version: 0.10
- nodejs_version: 0.11
- nodejs_version: 0.12
install:
- ps: Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version)
- npm -g install npm@2.12.1
- set PATH=%APPDATA%\npm;%PATH%
- npm install -g gulp
- npm install
build: off
test_script:
- node --version
- npm --version
- ps: npm test
- cmd: npm test
| # appveyor file
# http://www.appveyor.com/docs/appveyor-yml
init:
- git config --global core.autocrlf input
# what combinations to test
environment:
matrix:
#node.js
- nodejs_version: 0.10
- nodejs_version: 0.11
- nodejs_version: 0.12
#io.js
- nodejs_version: 2.5.0
install:
- ps: Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version)
- npm -g install npm@2.12.1
- set PATH=%APPDATA%\npm;%PATH%
- npm install -g gulp
- npm install
build: off
test_script:
- node --version
- npm --version
- ps: npm test
- cmd: npm test
|
Allow empty checksum on cinst install for AppVeyor | build: false
shallow_clone: false
platform:
- x86
- x64
environment:
matrix:
- php: 5.6.17
- php: 7.0.4
matrix:
fast_finish: true
clone_folder: c:\projects\IsoCodesValidator
init:
- SET PATH=C:\Program Files\OpenSSL;c:\tools\php;%PATH%
install:
- cinst php -version %php%
- cd c:\tools\php
- copy php.ini-production php.ini
- echo date.timezone="UTC" >> php.ini
- echo extension_dir=ext >> php.ini
- echo extension=php_openssl.dll >> php.ini
- echo extension=php_intl.dll >> php.ini
- echo extension=php_mbstring.dll >> php.ini
- appveyor DownloadFile https://getcomposer.org/composer.phar
- appveyor DownloadFile https://phar.phpunit.de/phpunit.phar
- cd c:\projects\IsoCodesValidator
- php c:\tools\php\composer.phar update --prefer-dist --no-interaction --no-progress
test_script: php c:\tools\php\phpunit.phar -c phpunit.xml.dist
| build: false
shallow_clone: false
platform:
- x86
- x64
environment:
matrix:
- php: 5.6.17
- php: 7.0.4
matrix:
fast_finish: true
clone_folder: c:\projects\IsoCodesValidator
init:
- SET PATH=C:\Program Files\OpenSSL;c:\tools\php;%PATH%
install:
- cinst php --allow-empty-checksums -version %php%
- cd c:\tools\php
- copy php.ini-production php.ini
- echo date.timezone="UTC" >> php.ini
- echo extension_dir=ext >> php.ini
- echo extension=php_openssl.dll >> php.ini
- echo extension=php_intl.dll >> php.ini
- echo extension=php_mbstring.dll >> php.ini
- appveyor DownloadFile https://getcomposer.org/composer.phar
- appveyor DownloadFile https://phar.phpunit.de/phpunit.phar
- cd c:\projects\IsoCodesValidator
- php c:\tools\php\composer.phar update --prefer-dist --no-interaction --no-progress
test_script: php c:\tools\php\phpunit.phar -c phpunit.xml.dist
|
Update build to use dotnet command line | nuget:
account_feed: true
before_build:
- nuget restore
configuration: Release
build:
project: PlayerRank.sln
verbosity: minimal
after_build:
- cmd: nuget pack PlayerRank\PlayerRank.csproj -version "%GitVersion_NuGetVersion%" -prop "target=Release"
- cmd: appveyor PushArtifact "PlayerRank.%GitVersion_NuGetVersion%.nupkg"
deploy:
- provider: GitHub
auth_token:
secure: A7+/5adwhz9NXkJeVJpckt7wIcfIOVr1M8KPMHrOD+TknNaV6CX2XrKR21+QS9ko
artifact: /.*\.nupkg/
draft: false
prerelease: false
description: ''
on:
appveyor_repo_tag: true
- provider: NuGet
api_key:
secure: mJ21/ayGYSXI/29RaN75qvcuoYDIq8RKmq7PkBlkQ8WWUnfZ063XDmhNrELUKwXP
skip_symbols: false
on:
appveyor_repo_tag: true | configuration: Release
image: Visual Studio 2017 Preview
install:
- choco install GitVersion.Portable
- GitVersion /output buildserver
dotnet_csproj:
patch: true
file: '**\*.csproj'
version: '%GitVersion_MajorMinorPatch%'
package_version: '%GitVersion_NuGetVersion%'
before_build:
- dotnet restore
build:
project: PlayerRank.sln
verbosity: minimal
after_build:
- cmd: dotnet pack PlayerRank\PlayerRank.csproj -c Release
- cmd: appveyor PushArtifact "PlayerRank\bin\release\PlayerRank.%GitVersion_NuGetVersion%.nupkg"
deploy:
- provider: GitHub
auth_token:
secure: A7+/5adwhz9NXkJeVJpckt7wIcfIOVr1M8KPMHrOD+TknNaV6CX2XrKR21+QS9ko
artifact: /.*\.nupkg/
draft: false
prerelease: false
description: ''
on:
appveyor_repo_tag: true
- provider: NuGet
api_key:
secure: mJ21/ayGYSXI/29RaN75qvcuoYDIq8RKmq7PkBlkQ8WWUnfZ063XDmhNrELUKwXP
skip_symbols: false
on:
appveyor_repo_tag: true |
Disable parallel build and try to fix artifact name | version: '{branch}-rev{build}'
shallow_clone: true
os:
- Visual Studio 2015
environment:
matrix:
- TOOLSET: vs2015
install:
- cd build && "./premake5.exe" %TOOLSET% && cd ..
configuration:
- DebugDynamic
- ReleaseDynamic
platform:
- Win32
- x64
build:
parallel: true
project: build/$(TOOLSET)/NazaraEngine.sln
#after_build:
# - cd tests && "./NazaraUnitTests"
after_build:
- cd build && "./premake5.exe" package && cd ../package
- 7z a NazaraEngine.7z *
artifacts:
- path: package/NazaraEngine.7z
name: 'NazaraEngine-$(CONFIGURATION)-$(PLATFORM)-$(APPVEYOR_REPO_COMMIT)'
| version: '{branch}-rev{build}'
shallow_clone: true
os:
- Visual Studio 2015
environment:
matrix:
- TOOLSET: vs2015
install:
- cd build && "./premake5.exe" %TOOLSET% && cd ..
configuration:
- DebugDynamic
- ReleaseDynamic
platform:
- Win32
- x64
build:
project: build/$(TOOLSET)/NazaraEngine.sln
#after_build:
# - cd tests && "./NazaraUnitTests"
after_build:
- cd build && "./premake5.exe" package && cd ../package
- 7z a 'NazaraEngine-$(CONFIGURATION)-$(PLATFORM)-$(APPVEYOR_REPO_COMMIT).7z' *
artifacts:
- path: package/NazaraEngine-$(CONFIGURATION)-$(PLATFORM)-$(APPVEYOR_REPO_COMMIT).7z
name: NazaraEngine
|
Reduce permissions on sig-cluster-lifecycle-cluster-api-alerts@kubernetes.io to member only. | groups:
- email-id: sig-cluster-lifecycle-cluster-api-alerts@kubernetes.io
name: sig-cluster-lifecycle-cluster-api-alerts
description: |-
settings:
WhoCanPostMessage: "ANYONE_CAN_POST"
ReconcileMembers: "true"
owners:
- detiber@gmail.com
- jdetiberus@equinix.com
- jeewan@vmware.com
- sbueringer@gmail.com
members:
- naadir@randomvariable.co.uk
- email-id: sig-cluster-lifecycle-kubeadm-alerts@kubernetes.io
name: sig-cluster-lifecycle-kubeadm-alerts
description: |-
settings:
WhoCanPostMessage: "ANYONE_CAN_POST"
ReconcileMembers: "true"
members:
- fabriziopandini@gmail.com
- neolit123@gmail.com
| groups:
- email-id: sig-cluster-lifecycle-cluster-api-alerts@kubernetes.io
name: sig-cluster-lifecycle-cluster-api-alerts
description: |-
settings:
WhoCanPostMessage: "ANYONE_CAN_POST"
ReconcileMembers: "true"
members:
- naadir@randomvariable.co.uk
- detiber@gmail.com
- jdetiberus@equinix.com
- jeewan@vmware.com
- sbueringer@gmail.com
- email-id: sig-cluster-lifecycle-kubeadm-alerts@kubernetes.io
name: sig-cluster-lifecycle-kubeadm-alerts
description: |-
settings:
WhoCanPostMessage: "ANYONE_CAN_POST"
ReconcileMembers: "true"
members:
- fabriziopandini@gmail.com
- neolit123@gmail.com
|
Add phpcs PSR2 to Scruntinizer | tools:
external_code_coverage: true
checks:
php:
code_rating: true
duplication: true | tools:
external_code_coverage: true
php_code_sniffer:
config:
standard: "PSR2"
checks:
php:
code_rating: true
duplication: true |
Replace individual developer names with dsde-pipelines-developers | version: 2
group_defaults:
approve_by_comment:
approve_regex: '^:\+1:'
enabled: true
groups:
reviewers:
required: 1
conditions:
branches:
- master
users:
- als364
- apchagi
- danxmoran
- gbggrant
- hensonc
- jacarey
- ktibbett
- nh13
- pshapiro4broad
- tbl3rd
- tlangs
- yfarjoun
| version: 2
group_defaults:
approve_by_comment:
approve_regex: '^:\+1:'
enabled: true
groups:
reviewers:
required: 1
conditions:
branches:
- master
teams:
- dsde-pipelines-developers
users:
- nh13
- tfenne
- yfarjoun
|
Fix integration test for iojs. Missing path has different error message in io.js . | - params:
sendman: ../../../../../bin/sendman
- description: Command help should display help information
command: '{sendman} --help'
exitcode: 0
output: 'Usage: sendman'
- description: Command init should display message about creating sample configuration file
command: '{sendman} init'
exitcode: 0
output: 'Creating sample configuration file: .sendman.json'
- description: Command send should display error message when
command: '{sendman} send'
# exitcode: 1 (since node 0.11, uncomment this line when 0.10 is no longer supported)
# exitcode: 8 (was on node 0.10 or older, remove this line when 0.10 is no longer supported)
output: 'no such file or directory ''/path/to/local/dir''' | - params:
sendman: ../../../../../bin/sendman
- description: Command help should display help information
command: '{sendman} --help'
exitcode: 0
output: 'Usage: sendman'
- description: Command init should display message about creating sample configuration file
command: '{sendman} init'
exitcode: 0
output: 'Creating sample configuration file: .sendman.json'
- description: Command send should display error message when
command: '{sendman} send'
# exitcode: 1 (since node 0.11, uncomment this line when 0.10 is no longer supported)
# exitcode: 8 (was on node 0.10 or older, remove this line when 0.10 is no longer supported)
output: '(/path/to/local/diris not an existing location|no such file or directory ''/path/to/local/dir'')' |
Update Node version for TestRepos workflow from 12 to 16. | name: TestRepos
on:
pull_request:
push:
workflow_dispatch:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node-version: [12.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Install Dependencies
run: npm install --no-package-lock
- name: Clone Test Repos
run: npm run clone-test-repos-large
- name: Lint Test Repos
run: npm run lint-test-repos
- name: Run Extra Tests
run: npm run test-extra
| name: TestRepos
on:
pull_request:
push:
workflow_dispatch:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node-version: [16.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Install Dependencies
run: npm install --no-package-lock
- name: Clone Test Repos
run: npm run clone-test-repos-large
- name: Lint Test Repos
run: npm run lint-test-repos
- name: Run Extra Tests
run: npm run test-extra
|
Update snapshot controller to use k8s.gcr.io | # This YAML file shows how to deploy the volume snapshot controller
---
kind: StatefulSet
apiVersion: apps/v1
metadata:
name: volume-snapshot-controller
namespace: kube-system
labels:
addonmanager.kubernetes.io/mode: Reconcile
spec:
serviceName: "volume-snapshot-controller"
replicas: 1
selector:
matchLabels:
app: volume-snapshot-controller
template:
metadata:
labels:
app: volume-snapshot-controller
spec:
serviceAccount: volume-snapshot-controller
containers:
- name: volume-snapshot-controller
# TODO(xyang): Replace with an official image when it is released
image: gcr.io/k8s-staging-csi/snapshot-controller:v2.0.0-rc2
args:
- "--v=5"
imagePullPolicy: Always
| # This YAML file shows how to deploy the volume snapshot controller
---
kind: StatefulSet
apiVersion: apps/v1
metadata:
name: volume-snapshot-controller
namespace: kube-system
labels:
addonmanager.kubernetes.io/mode: Reconcile
spec:
serviceName: "volume-snapshot-controller"
replicas: 1
selector:
matchLabels:
app: volume-snapshot-controller
template:
metadata:
labels:
app: volume-snapshot-controller
spec:
serviceAccount: volume-snapshot-controller
containers:
- name: volume-snapshot-controller
image: k8s.gcr.io/sig-storage/snapshot-controller:v2.1.1
args:
- "--v=5"
|
Rename vars and changed text in test workflow | name: build
on: [push]
jobs:
run:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['7.4', '8.0']
name: Testing on PHP ${{ matrix.php-versions }}
steps:
- uses: actions/checkout@v2
- name: setup
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: mbstring,bcmath
tools: phpunit,composer
- name: install deps
run: composer install -o -q
- name: run phpunit
run: vendor/bin/phpunit
- name: run phpstan
run: composer require --dev illuminate/support && vendor/bin/phpstan analyze --no-progress --autoload-file=tests/phpstan/bootstrap.php --level=5 src/
| name: Tests
on: [push]
jobs:
run:
runs-on: ubuntu-latest
strategy:
matrix:
php: ['7.4', '8.0']
name: Testing on PHP ${{ matrix.php }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: mbstring,bcmath
tools: composer
- name: Install PHP dependencies
run: composer install -q
- name: Run phpunit
run: vendor/bin/phpunit
- name: Run phpstan
run: composer require --dev illuminate/support && vendor/bin/phpstan analyze --no-progress --autoload-file=tests/phpstan/bootstrap.php --level=5 src/
|
Check for use_openshift_sdn when restarting openvswitch. | ---
- name: restart openvswitch
service: name=openvswitch state=restarted
when: not (ovs_service_status_changed | default(false) | bool)
notify:
- restart openvswitch pause
- name: restart openvswitch pause
pause: seconds=15
when: openshift.common.is_containerized | bool
- name: restart node
service: name={{ openshift.common.service_type }}-node state=restarted
when: not (node_service_status_changed | default(false) | bool)
| ---
- name: restart openvswitch
service: name=openvswitch state=restarted
when: not (ovs_service_status_changed | default(false) | bool) and openshift.common.use_openshift_sdn | bool
notify:
- restart openvswitch pause
- name: restart openvswitch pause
pause: seconds=15
when: openshift.common.is_containerized | bool
- name: restart node
service: name={{ openshift.common.service_type }}-node state=restarted
when: not (node_service_status_changed | default(false) | bool)
|
Install 32-bit GCC for Linux | notifications:
email:
on_success: change
on_failure: always
language: csharp
solution: BuildAMation.sln
matrix:
include:
- os: linux
mono: latest
script:
- msbuild /p:Configuration=Release BuildAMation.sln && python codingtools/test_bam.py && source env.sh && cd tests && python runtests.py --C.bitdepth=64 -b Native -c debug -c profile -j0
# DotNetCore axis removed as the referenced assemblies in the .sln
# are incorrect for this
#- os: linux
# mono: none
# dotnet: 2.1.4
# script:
# - dotnet msbuild /p:Configuration=Release BuildAMation.sln
# - python codingtools/test_bam.py
| notifications:
email:
on_success: change
on_failure: always
language: csharp
solution: BuildAMation.sln
install:
- if [ $TRAVIS_OS_NAME = linux ]; then sudo apt-get install gcc-multilib; fi
matrix:
include:
- os: linux
mono: latest
script:
- msbuild /p:Configuration=Release BuildAMation.sln && python codingtools/test_bam.py && source env.sh && cd tests && python runtests.py --C.bitdepth=64 -b Native -c debug -c profile -j0
# DotNetCore axis removed as the referenced assemblies in the .sln
# are incorrect for this
#- os: linux
# mono: none
# dotnet: 2.1.4
# script:
# - dotnet msbuild /p:Configuration=Release BuildAMation.sln
# - python codingtools/test_bam.py
|
Add infer for static analysis | language: android
jdk: oraclejdk8
os: linux
dist: xenial
env:
global:
- ANDROID_API_LEVEL=29
- ANDROID_BUILD_TOOLS_VERSION=29.0.2
android:
components:
- tools
- platform-tools
- tools
- build-tools-$ANDROID_BUILD_TOOLS_VERSION
- android-$ANDROID_API_LEVEL
# Additional components
- extra-android-m2repository
before_script:
- chmod +x gradlew
- chmod +x cicd_scripts/lint-up.rb
script:
- ./gradlew clean assembleDebug
- ruby cicd_scripts/lint-up.rb
| language: android
jdk: oraclejdk8
os: linux
dist: xenial
env:
global:
- ANDROID_API_LEVEL=29
- ANDROID_BUILD_TOOLS_VERSION=29.0.2
android:
components:
- tools
- platform-tools
- tools
- build-tools-$ANDROID_BUILD_TOOLS_VERSION
- android-$ANDROID_API_LEVEL
# Additional components
- extra-android-m2repository
before_script:
- chmod +x gradlew
- chmod +x cicd_scripts/lint-up.rb
- curl -sSL "https://github.com/facebook/infer/releases/download/v1.0.0/infer-linux64-v1.0.0.tar.xz" | sudo tar -C /opt -xJ && ln -s "/opt/infer-linux64-v1.0.0/bin/infer" /usr/local/bin/infer
- sudo ln -s "/opt/infer-linux64-v1.0.0/bin/infer" /usr/local/bin/infer
script:
- ./gradlew clean assembleDebug
- ruby cicd_scripts/lint-up.rb
- ./gradlew clean
- infer run -- ./gradlew build
|
Update Travis CI to xenial | ---
sudo: required
dist: trusty
language: python
python: "2.7"
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq python-apt python-pycurl curl ufw
install:
- pip install ansible --upgrade
- ansible --version
- printf '[defaults]\nroles_path=../' >ansible.cfg
- echo localhost > inventory
script:
- ansible-playbook -i inventory --syntax-check --list-tasks test.yml
- ansible-playbook -i inventory --connection=local --become -vvvv test.yml
- >
ansible-playbook -i inventory --connection=local --become test.yml
| grep -q 'changed=0.*failed=0'
&& (echo 'Idempotence test: pass' && exit 0)
|| (echo 'Idempotence test: fail' && exit 1)
- check_mk_agent
after_script:
- ls -la /usr/lib/check_mk_agent/plugins/
notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/
| ---
sudo: required
dist: xenial
language: python
python: "2.7"
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq python-apt python-pycurl curl ufw
install:
- pip install ansible --upgrade
- ansible --version
- printf '[defaults]\nroles_path=../' >ansible.cfg
- echo localhost > inventory
script:
- ansible-playbook -i inventory --syntax-check --list-tasks test.yml
- ansible-playbook -i inventory --connection=local --become -vvvv test.yml
- >
ansible-playbook -i inventory --connection=local --become test.yml
| grep -q 'changed=0.*failed=0'
&& (echo 'Idempotence test: pass' && exit 0)
|| (echo 'Idempotence test: fail' && exit 1)
- check_mk_agent
after_script:
- ls -la /usr/lib/check_mk_agent/plugins/
notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/
|
Add 5.20 to Travis CI builds | language: perl
install: true
script: perl ./Build.PL
perl:
- "5.12"
- "5.14"
- "5.18"
branches:
only:
- master
- stable
| language: perl
install: true
script: perl ./Build.PL
perl:
- "5.12"
- "5.14"
- "5.18"
- "5.20"
branches:
only:
- master
- stable
|
Add doc generation to Travis |
language: rust
| language: rust
after_success: |
[ $TRAVIS_BRANCH = master ] &&
[ $TRAVIS_PULL_REQUEST = false ] &&
cargo doc &&
echo "<meta http-equiv=refresh content=0;url=`echo $TRAVIS_REPO_SLUG | cut -d '/' -f 2`/index.html>" > target/doc/index.html &&
sudo pip install ghp-import &&
ghp-import -n target/doc &&
git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
env:
global:
secure: eKR1ck96CHQVCBsHuow2zSFmVwUaUCCKIffEPoYSR0pl/hPo96iFJdPCTAiBRZiab6j9wC2K47qvzEjXYLHAWcusM4cCqNPaWIBgAhbruxX8Gjd1DQTujeizy6JVjyyuSdPnsqXfHZ6YpUOzkxJAyP2Xqjtda6L5pf3vA1kdPWE=
|
Switch to xvfb service declaration | # use java support.
language: java
# run in container.
sudo: false
# use linux as operating system.
os: linux
matrix:
fast_finish: true
include:
- jdk: openjdk8
if: branch = master OR tag =~ ^v1\.[0-9]+\.[0-9]+ # match v1.x.x
- jdk: openjdk11
if: branch = jdk10 OR tag =~ ^v2\.[0-9]+\.[0-9]+ # match v2.x.x
# configure xvfb screen.
before_install:
- sudo apt-get install -y openjfx
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
# skip install stage.
install: true
# run maven build.
script:
- mvn test
cache:
directories:
- $HOME/.m2
deploy:
# Deploy snapshots & releases on every commit made to master
- provider: script
script: "cp .travis.settings.xml $HOME/.m2/settings.xml && mvn deploy"
skip_cleanup: true
on:
all_branches: true | # use java support.
language: java
# run in container.
sudo: false
# use linux as operating system.
os: linux
matrix:
fast_finish: true
include:
- jdk: openjdk8
if: branch = master OR tag =~ ^v1\.[0-9]+\.[0-9]+ # match v1.x.x
- jdk: openjdk11
if: branch = jdk10 OR tag =~ ^v2\.[0-9]+\.[0-9]+ # match v2.x.x
# configure xvfb screen.
services:
- xvfb
before_install:
- sudo apt-get install -y openjfx
# skip install stage.
install: true
# run maven build.
script:
- mvn test
cache:
directories:
- $HOME/.m2
deploy:
# Deploy snapshots & releases on every commit made to master
- provider: script
script: "cp .travis.settings.xml $HOME/.m2/settings.xml && mvn deploy"
skip_cleanup: true
on:
all_branches: true |
Test on latest point releases of Ruby | language: ruby
sudo: false
cache: bundler
script: "bundle exec rake"
env:
- DATABASE_ADAPTER=sqlite3
- DATABASE_ADAPTER=postgresql
rvm:
- 2.0.0
- 2.1.4
- 2.2.0
gemfile:
- gemfiles/4.0.0.gemfile
- gemfiles/4.0.1.gemfile
- gemfiles/4.1.gemfile
- gemfiles/4.2.gemfile
| language: ruby
sudo: false
cache: bundler
script: "bundle exec rake"
env:
- DATABASE_ADAPTER=sqlite3
- DATABASE_ADAPTER=postgresql
rvm:
- 2.0
- 2.1
- 2.2
gemfile:
- gemfiles/4.0.0.gemfile
- gemfiles/4.0.1.gemfile
- gemfiles/4.1.gemfile
- gemfiles/4.2.gemfile
|
Move form npm to yarn | sudo: false
language: node_js
cache:
directories:
- node_modules
notifications:
email: false
node_js:
- '4'
before_install:
- npm i -g npm
before_script:
- npm prune
after_script:
- npm run coveralls
after_success:
- 'curl -Lo travis_after_all.py https://git.io/travis_after_all'
- python travis_after_all.py
- export $(cat .to_export_back) &> /dev/null
- npm run semantic-release
branches:
except:
- /^v\d+\.\d+\.\d+$/
| sudo: false
language: node_js
notifications:
email: false
node_js:
- '4'
before_install:
- npm install -g yarn
before_script:
- yarn prune
after_script:
- yarn run coveralls
after_success:
- 'curl -Lo travis_after_all.py https://git.io/travis_after_all'
- python travis_after_all.py
- export $(cat .to_export_back) &> /dev/null
- yarn run semantic-release
branches:
except:
- /^v\d+\.\d+\.\d+$/
|
Add cache of hypothesis database. | language: python
python:
- 2.7
- 3.4
- 3.5
install:
- pip install -r requirements.txt
- python setup.py develop
- pip install coveralls
- pip install sphinx
script:
- cd docs; make html
- cd ..
- python doctests.py
- coverage run --source=ciw -m unittest discover ciw
- pip uninstall -y ciw
- pip install ciw
after_success: coveralls
| language: python
python:
- 2.7
- 3.4
- 3.5
cache:
directories:
- $TRAVIS_BUILD_DIR/.hypothesis
install:
- pip install -r requirements.txt
- python setup.py develop
- pip install coveralls
- pip install sphinx
script:
- cd docs; make html
- cd ..
- python doctests.py
- coverage run --source=ciw -m unittest discover ciw
- pip uninstall -y ciw
- pip install ciw
after_success: coveralls
|
Update to neo4j 2.2.5, JRuby 1.7.20, and start testing against jruby-9.0.0.0 | script:
- "bundle exec rubocop"
- "export CODECLIMATE_REPO_TOKEN=04853df625409de0a0f4e9126aee11bbee3428c81c20c27df6e6ab5c60bff2c8 && export JRUBY_OPTS='-X+O -J-Djruby.launch.inproc=false -J-Xmx700m -J-XX:MaxPermSize=2048m' && bundle exec rake neo4j:install[$NEO4J_VERSION] neo4j:start default --trace"
language: ruby
cache: bundler
sudo: false
rvm:
- 2.2.2
- 2.0.0
- jruby-1.7.19
# - jruby-19mode
env:
- NEO4J_VERSION=community-2.2.4
- NEO4J_VERSION=community-2.1.8
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/b803232e5210f6134a1e
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: false # default: false
| script:
- "bundle exec rubocop"
- "export CODECLIMATE_REPO_TOKEN=04853df625409de0a0f4e9126aee11bbee3428c81c20c27df6e6ab5c60bff2c8 && export JRUBY_OPTS='-X+O -J-Djruby.launch.inproc=false -J-Xmx700m -J-XX:MaxPermSize=2048m' && bundle exec rake neo4j:install[$NEO4J_VERSION] neo4j:start default --trace"
language: ruby
cache: bundler
sudo: false
rvm:
- 2.2.2
- 2.0.0
- jruby-1.7.20
- jruby-9.0.0.0
env:
- NEO4J_VERSION=community-2.2.5
- NEO4J_VERSION=community-2.1.8
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/b803232e5210f6134a1e
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: false # default: false
|
Remove unsupported PHP versions from Travis matrix | language: php
dist: trusty
php:
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- 7.2
- 7.3
- hhvm
- hhvm-nightly
matrix:
allow_failures:
- php: hhvm
- php: hhvm-nightly
before_script:
- if [[ "$TRAVIS_PHP_VERSION" == "hhvm"* ]]; then curl -sSfL -o ~/.phpenv/versions/hhvm/bin/phpunit https://phar.phpunit.de/phpunit-5.7.phar; fi
- composer install
script: phpunit --verbose
| language: php
dist: xenial
php:
- 7.3
- 7.4
before_script:
- composer install
script: phpunit --verbose
|
Update PHP versions for tests | language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- hhvm
before_script:
- composer self-update
- composer install --prefer-source --no-interaction --dev
script: phpunit
| language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- 7.2
- 7.3
- hhvm
before_script:
- composer self-update
- composer install --prefer-source --no-interaction --dev
script: phpunit
|
Change cmake ppa: george-edison55/precise-backports -> george-edison55/cmake-3.x | # Travis CI Build.
# HOME path: /home/travis
# Git clone path: /home/travis/build/osom8979/tbag
language: cpp
cache:
apt: true
directories:
- /home/travis/tparty
compiler: g++
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- george-edison55-precise-backports
packages:
- git
- cmake
- cmake-data
- curl
- unzip
- g++-4.9
before_install:
#- sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test
#- sudo add-apt-repository --yes ppa:george-edison55/precise-backports
#- sudo apt-get -qq update
#- sudo apt-get install -y git cmake cmake-data curl unzip g++-4.9
- export TPARTY_HOME=$HOME/tparty
- export LD_LIBRARY_PATH=$TPARTY_HOME/local/lib:$LD_LIBRARY_PATH
- export CXX=g++-4.9
install:
- bash script/travis_install.sh
script:
- mkdir cmake_build
- cd cmake_build
- cmake ..
- make VERBOSE=0
- ./tester
notifications:
email:
on_success: always
on_failure: always
| # Travis CI Build.
# HOME path: /home/travis
# Git clone path: /home/travis/build/osom8979/tbag
language: cpp
cache:
apt: true
directories:
- /home/travis/tparty
compiler: g++
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- george-edison55-cmake-3.x
packages:
- git
- cmake
- cmake-data
- curl
- unzip
- g++-4.9
before_install:
#- sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test
#- sudo add-apt-repository --yes ppa:george-edison55/precise-backports
#- sudo apt-get -qq update
#- sudo apt-get install -y git cmake cmake-data curl unzip g++-4.9
- export TPARTY_HOME=$HOME/tparty
- export LD_LIBRARY_PATH=$TPARTY_HOME/local/lib:$LD_LIBRARY_PATH
- export CXX=g++-4.9
install:
- bash script/travis_install.sh
script:
- mkdir cmake_build
- cd cmake_build
- cmake ..
- make VERBOSE=0
- ./tester
notifications:
email:
on_success: always
on_failure: always
|
Use go1.11 as default go version | language: go
sudo: true
go:
- 1.10.x
# Disable tests for 1.11.x temporarily, since test fails because of code formating issues.
# We need to insert empty line manually to avoid test failure, instead of having gofmt to do the job
# - 1.11.x
go_import_path: github.com/uber/zanzibar
env:
global:
- GO15VENDOREXPERIMENT=1
- TEST_TIMEOUT_SCALE=10
cache:
directories:
- vendor
before_install:
- sudo apt-get -qq update
- sudo apt-get install -qq time
- sudo apt-get install -qq build-essential libssl-dev git
- sudo apt-get install -qq libluajit-5.1-2 libluajit-5.1-common
- wget http://us.archive.ubuntu.com/ubuntu/pool/universe/w/wrk/wrk_4.0.1-2_amd64.deb
- sudo dpkg -i wrk_4.0.1-2_amd64.deb
- rm wrk_4.0.1-2_amd64.deb
install:
- make jenkins-install
script:
- make jenkins-test
- make install
- make cover
- make fast-bench
- make bins
- make test-benchmark-runner
after_success:
- make travis-coveralls
| language: go
sudo: true
go:
- 1.11.x
go_import_path: github.com/uber/zanzibar
env:
global:
- GO15VENDOREXPERIMENT=1
- TEST_TIMEOUT_SCALE=10
cache:
directories:
- vendor
before_install:
- sudo apt-get -qq update
- sudo apt-get install -qq time
- sudo apt-get install -qq build-essential libssl-dev git
- sudo apt-get install -qq libluajit-5.1-2 libluajit-5.1-common
- wget http://us.archive.ubuntu.com/ubuntu/pool/universe/w/wrk/wrk_4.0.1-2_amd64.deb
- sudo dpkg -i wrk_4.0.1-2_amd64.deb
- rm wrk_4.0.1-2_amd64.deb
install:
- make jenkins-install
script:
- make jenkins-test
- make install
- make cover
- make fast-bench
- make bins
- make test-benchmark-runner
after_success:
- make travis-coveralls
|
Set user name and email for git with Travis-CI. | language: python
python:
- "3.6"
- "3.5"
- "3.4"
before_install:
- export PATH=$(echo $PATH | tr ':' "\n" | sed '/\/opt\/python/d' | tr "\n" ":" | sed "s|::|:|g")
addons:
apt_packages:
- pandoc
install:
- pip install .
- pip install -r requirements.txt
before_script:
- export PYTHONPATH=$PYTHONPATH:$(pwd)
script:
- pytest -v --cov=. --nbval --ignore=docs
- if [[ "$TRAVIS_PYTHON_VERSION" == "3.6" ]]; then
travis-sphinx build;
fi
after_success:
- if [[ "$TRAVIS_PYTHON_VERSION" == "3.6" ]]; then
travis-sphinx deploy;
fi
deploy:
provider: pages
skip-cleanup: true
github-token: $GITHUB_TOKEN
keep-history: true
on:
branch: master
| language: python
python:
- "3.6"
- "3.5"
- "3.4"
before_install:
- export PATH=$(echo $PATH | tr ':' "\n" | sed '/\/opt\/python/d' | tr "\n" ":" | sed "s|::|:|g")
addons:
apt_packages:
- pandoc
install:
- pip install .
- pip install -r requirements.txt
before_script:
- export PYTHONPATH=$PYTHONPATH:$(pwd)
- if [[ "$TRAVIS_PYTHON_VERSION" == "3.6" ]]; then
git config --global user.email "eugene.willcox@gmail.com";
git config --global user.name "Travis-CI";
fi
script:
- pytest -v --cov=. --nbval --ignore=docs
- if [[ "$TRAVIS_PYTHON_VERSION" == "3.6" ]]; then
travis-sphinx build;
fi
after_success:
- if [[ "$TRAVIS_PYTHON_VERSION" == "3.6" ]]; then
travis-sphinx deploy;
fi
deploy:
provider: pages
skip-cleanup: true
github-token: $GITHUB_TOKEN
keep-history: true
on:
branch: master
|
Fix Bundler --without args of Travis-CI | bundler_args: --without development --without doc
env:
global:
- JRUBY_OPTS="$JRUBY_OPTS --debug"
language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1
- jruby-19mode
- jruby-head
- rbx-2
- ruby-head
matrix:
allow_failures:
- rvm: jruby-head
- rvm: ruby-head
fast_finish: true
sudo: false
| bundler_args: --without development doc
env:
global:
- JRUBY_OPTS="$JRUBY_OPTS --debug"
language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1
- jruby-19mode
- jruby-head
- rbx-2
- ruby-head
matrix:
allow_failures:
- rvm: jruby-head
- rvm: ruby-head
fast_finish: true
sudo: false
|
Add latest Ruby versions to Travis config | language: ruby
cache: bundler
rvm:
- 2.2.5
- 2.3.1
- ruby-head
- rbx
- jruby
script: bundle exec rspec
before_install:
- gem update bundler
| language: ruby
cache: bundler
rvm:
- 2.3
- 2.4
- 2.5
- ruby-head
- jruby
- rbx-3
script: bundle exec rspec
before_install:
- gem install bundler
|
Drop Flask 0.9 from testing. | language: python
services: redis-server
python:
- "2.7"
env:
- FLASK_VERSION=0.9 REDIS_VERSION=2.4.13
- FLASK_VERSION=0.9 REDIS_VERSION=2.6.2
- FLASK_VERSION=0.9 REDIS_VERSION=2.7.4
- FLASK_VERSION=0.10 REDIS_VERSION=2.4.13
- FLASK_VERSION=0.10 REDIS_VERSION=2.6.2
- FLASK_VERSION=0.10 REDIS_VERSION=2.7.4
install:
- "pip install -r requirements.txt"
- "pip install -r requirements_tests.txt"
- "pip install -I Flask==$FLASK_VERSION"
- "pip install -I redis==$REDIS_VERSION"
before_script:
- "databench &"
- "sleep 30s"
script: "nosetests tests"
| language: python
services: redis-server
python:
- "2.7"
env:
- FLASK_VERSION=0.10 REDIS_VERSION=2.4.13
- FLASK_VERSION=0.10 REDIS_VERSION=2.6.2
- FLASK_VERSION=0.10 REDIS_VERSION=2.7.4
install:
- "pip install -r requirements.txt"
- "pip install -r requirements_tests.txt"
- "pip install -I Flask==$FLASK_VERSION"
- "pip install -I redis==$REDIS_VERSION"
before_script:
- "databench &"
- "sleep 30s"
script: "nosetests tests"
|
Update Travis CI API key | language: node_js
node_js:
- '0.12'
- '4'
- 'iojs'
before_script: npm install -g grunt-cli
deploy:
provider: npm
email: nwoltman@outlook.com
api_key:
secure: A0JrkJErayUL66RW/iZdHmHvFPJyG3LBtaaxs6UI5JzGC6zpaMdiTRZlZkIiSb4YM/bUq71GkIqCBZguvqTaXEFe960K7En+3YZQ8234rXDp3g5Xg8PDEp4NCvfn0r1SETCU0D+kGy3avyQHc7Ympk8OTAnMWdxsN4pKZM31z+0=
on:
tags: true
| language: node_js
node_js:
- '0.12'
- 'iojs'
- '4'
before_script: npm install -g grunt-cli
deploy:
provider: npm
email: nwoltman@outlook.com
api_key:
secure: HD/8J5TaxDQMws6ZiIzfUCm6JzcHlwxiFK4wWU+0btIvP53ukwxgr3Jpdwi0VADff8pQJDxywIcPp9T7BJDK9uC/SAwKVwvfdizVwIFODY1TbJXNDjrzm0YPkNcNsmlPl1xied9Nj6b2yUurfJ6n2viiB2sVSmZZdfwLpo72Zws=
on:
tags: true
|
Enable sudo so we can start psql | language: clojure
sudo: false
script: make test
services:
- postgresql
env:
- RILL_POSTGRES_DB=rill_test RILL_POSTGRES_USER=postgres
notifications:
slack:
secure: UTuoaiCsgYYCBC/ii5xDKnkOEj2njQ0AyHOm3EZfu8MeG1YjpKXCdCXhbRLQIgmkdxHy6jQJU83JOkv15u8q3Y2f6w6X/nUEwccMicot6hDBNDxmj0oJqoscJCemFnINJ7mfUe0diaNHuZ7NiVCRimBLH3iBVctT7w7vjF4v1kA=
| language: clojure
sudo: required
script: make test
services:
- postgresql
env:
- RILL_POSTGRES_DB=rill_test RILL_POSTGRES_USER=postgres
notifications:
slack:
secure: UTuoaiCsgYYCBC/ii5xDKnkOEj2njQ0AyHOm3EZfu8MeG1YjpKXCdCXhbRLQIgmkdxHy6jQJU83JOkv15u8q3Y2f6w6X/nUEwccMicot6hDBNDxmj0oJqoscJCemFnINJ7mfUe0diaNHuZ7NiVCRimBLH3iBVctT7w7vjF4v1kA=
|
Stop CI to upgrade to composer v2, until dependency(wikimedia/composer-merge-plugin) does not support it. | os:
- linux
language: php
php:
# - '5.6'
# - '7.0'
# - '7.1'
# - '7.2'
- '7.3'
- '7.4'
- '8.0'
services:
# - mongodb
- mysql
before_script:
- sleep 10
# - mongo horizontlaravel --eval 'db.createUser({user:"travis",pwd:"test",roles:["readWrite"]})
- mysql -e 'CREATE DATABASE IF NOT EXISTS horizontlaravel;'
- composer self-update
- composer install --no-interaction
- nvm install node
- npm install
- npm run production
- php artisan serve > /dev/null 2>&1 &
script:
- php artisan migrate --no-interaction --force
- php artisan db:seed --no-interaction --force
- export INSTALLED=YES
- vendor/bin/phpunit --testsuite Unit,Integration --coverage-clover reports/coverage.xml
- if [ -f "reports/coverage.xml" ]; then vendor/bin/codacycoverage clover reports/coverage.xml; fi
- php artisan --version
- php artisan hcms:version
| os:
- linux
language: php
php:
# - '5.6'
# - '7.0'
# - '7.1'
# - '7.2'
- '7.3'
- '7.4'
- '8.0'
services:
# - mongodb
- mysql
before_script:
- sleep 10
# - mongo horizontlaravel --eval 'db.createUser({user:"travis",pwd:"test",roles:["readWrite"]})
- mysql -e 'CREATE DATABASE IF NOT EXISTS horizontlaravel;'
- composer self-update --1
- composer install --no-interaction
- nvm install node
- npm install
- npm run production
- php artisan serve > /dev/null 2>&1 &
script:
- php artisan migrate --no-interaction --force
- php artisan db:seed --no-interaction --force
- export INSTALLED=YES
- vendor/bin/phpunit --testsuite Unit,Integration --coverage-clover reports/coverage.xml
- if [ -f "reports/coverage.xml" ]; then vendor/bin/codacycoverage clover reports/coverage.xml; fi
- php artisan --version
- php artisan hcms:version
|
Revert "Bump libclang version to latest" | # Make sure we run in the docker container
sudo: false
language: c
addons:
apt:
packages:
# Libraries needed to build cross compiler
- libgmp-dev
- libmpfr-dev
- python-virtualenv
- libclang1-3.8
cache:
directories:
- compiler/
before_script:
- virtualenv ~/venv
- source ~/venv/bin/activate
- pip install cldoc
script:
- if [[ ! -e compiler/i686-elf/bin/i686-elf-gcc ]]; then
bash ./scripts/build_cross_compiler.sh;
fi
- make
- make run-tests
- make docs
| # Make sure we run in the docker container
sudo: false
language: c
addons:
apt:
packages:
# Libraries needed to build cross compiler
- libgmp-dev
- libmpfr-dev
- python-virtualenv
- libclang1-3.4
cache:
directories:
- compiler/
before_script:
- virtualenv ~/venv
- source ~/venv/bin/activate
- pip install cldoc
script:
- if [[ ! -e compiler/i686-elf/bin/i686-elf-gcc ]]; then
bash ./scripts/build_cross_compiler.sh;
fi
- make
- make run-tests
- make docs
|
Revert "Try more JDK again" | language: java
jdk:
- openjdk8
# As long as travis/Ubuntu problem exists only run with one JDK
- openjdk9
- openjdk10
- openjdk11
# Not possible with language level 1.6
# - openjdk12
#before_script:
# - pip install --user codecov
#after_success:
# - codecov
#addons:
# srcclr: true
| language: java
jdk:
- openjdk8
# As long as travis/Ubuntu problem exists only run with one JDK
# - openjdk9
# - openjdk10
# - openjdk11
# Not possible with language level 1.6
# - openjdk12
#before_script:
# - pip install --user codecov
#after_success:
# - codecov
#addons:
# srcclr: true
|
Remove Ruby 1.8.7 from Travis tests | language: ruby
rvm:
- 1.8.7
- 1.9.3
- 2.0.0
gemfile:
- gemfiles/rails-3.1.gemfile
- gemfiles/rails-3.2.gemfile
- gemfiles/rails-4.0.gemfile
matrix:
exclude:
- rvm: 1.8.7
gemfile: gemfiles/rails-4.0.gemfile
| language: ruby
rvm:
- 1.9.3
- 2.0.0
gemfile:
- gemfiles/rails-3.1.gemfile
- gemfiles/rails-3.2.gemfile
- gemfiles/rails-4.0.gemfile
|
Work around new poetry bug | language: python
python:
- "3.5"
- "3.6"
#- "3.7"
addons:
chrome: stable # Just to be sure
apt:
packages:
- libmysqlclient-dev
- libmagickwand-dev
- poppler-utils
- tesseract-ocr
cache:
pip: true
npm: true
apt: true
install:
- npm install --ci
- pip install poetry --upgrade
- poetry install
# Add pygobject to the virtualenv; Disabled because gi only works with system python
# - ln -s /usr/lib/python$TRAVIS_PYTHON_VERSION/dist-packages/gi $VIRTUAL_ENV/lib/*/site-packages/
script:
# Ensure our migrations are working (squashing can cause weird problems)
- ENV_PATH=etc/env-test poetry run ./manage.py migrate
- npm run build:dev
- npm run build:prod
- poetry run ./manage.py test
| language: python
python:
- "3.5"
- "3.6"
#- "3.7"
addons:
chrome: stable # Just to be sure
apt:
packages:
- libmysqlclient-dev
- libmagickwand-dev
- poppler-utils
- tesseract-ocr
cache:
pip: true
npm: true
apt: true
install:
- npm install --ci
- pip install poetry --upgrade
- poetry install
# Add pygobject to the virtualenv; Disabled because gi only works with system python
# - ln -s /usr/lib/python$TRAVIS_PYTHON_VERSION/dist-packages/gi $VIRTUAL_ENV/lib/*/site-packages/
script:
# Ensure our migrations are working (squashing can cause weird problems)
- ENV_PATH=etc/env-test poetry run python ./manage.py migrate
- npm run build:dev
- npm run build:prod
- poetry run python ./manage.py test
|
Use Xcode 7.2 on TravisCI | language: objective-c
install:
- bundle install --jobs=3 --retry=3
script: bundle exec rake test
after_success: slather
cache:
directories:
- vendor/bundle
| osx_image: xcode7.2
language: objective-c
install:
- bundle install --jobs=3 --retry=3
script: bundle exec rake test
after_success: slather
cache:
directories:
- vendor/bundle
|
Add Ruby 2.0.0 to Travis-CI test matrix | language: ruby
rvm:
- 1.9.3
- jruby-19mode
- jruby-head
| language: ruby
rvm:
- 1.9.3
- jruby-19mode
- jruby-head
- 2.0.0
|
Support of Ruby 2.2 has ended | cache: bundler
language: ruby
sudo: false
rvm:
- 2.5.0
- 2.4.3
- 2.3.6
- 2.2.9
before_install: "gem update --system" # https://github.com/travis-ci/travis-ci/issues/8974
| cache: bundler
language: ruby
sudo: false
rvm:
- 2.5.1
- 2.4.4
- 2.3.7
before_install: "gem update --system" # https://github.com/travis-ci/travis-ci/issues/8974
|
Revert to using secure variables | dist: trusty
sudo: required
language: c
compiler:
- clang
- gcc
before_install:
- git submodule update --init --recursive
- sudo apt-get update
- sudo apt-get install python-docutils
- git clone https://github.com/varnishcache/varnish-cache.git
- cd varnish-cache && ./autogen.sh && ./configure && make &&
sudo make install && sudo ldconfig && cd ..
- ./autogen.sh
script:
- ./configure && make CFLAGS="-Wall -Wextra -Werror" VERBOSE=1 distcheck
notifications:
webhooks: $GITTER_IM_URL
| dist: trusty
sudo: required
language: c
compiler:
- clang
- gcc
before_install:
- git submodule update --init --recursive
- sudo apt-get update
- sudo apt-get install python-docutils
- git clone https://github.com/varnishcache/varnish-cache.git
- cd varnish-cache && ./autogen.sh && ./configure && make &&
sudo make install && sudo ldconfig && cd ..
- ./autogen.sh
script:
- ./configure && make CFLAGS="-Wall -Wextra -Werror" VERBOSE=1 distcheck
notifications:
webhooks:
urls:
secure: "Iu7ubvN/0qGSyU5f8XsGcY8Xn5uSuZZNQZZw4G5XqeXL6s7Uf1KMGRI2UtViFSV5+II2Wu5KFVox4pH0Jp5nVLo0YP5WpI+C9AaWwNVKt8DcGhzhDrXajXF5vyrKbFdoEwGJpe0ghBUjRHB16HjVniDYiJEDnHZwwtVqRMTVvAI="
|
Add Bundler to install scripts for Travis | language: ruby
rvm:
- 2.7.0
install:
- npm install
script:
- bundle exec rspec
- npm run test
| language: ruby
rvm:
- 2.7.0
install:
- bundle install
- npm install
script:
- bundle exec rspec
- npm run test
|
Fix 1.8.7 builds on Travis | bundler_args: --without development
language: ruby
rvm:
- jruby-19mode
- rbx-19mode
- 1.8.7
- 1.9.2
- 1.9.3
- 2.0.0
- 2.1.0
matrix:
allow_failures:
- rvm: rbx-19mode
env:
- OCTOKIT_TEST_GITHUB_LOGIN="api-padawan" OCTOKIT_TEST_GITHUB_PASSWORD="MYSOCRATESNOTE" OCTOKIT_TEST_GITHUB_TOKEN="6a21f190e3422bf89afa8b360d923b0c30e8fbfa" OCTOKIT_TEST_GITHUB_CLIENT_ID='abcdefabcdefabcdefab' OCTOKIT_TEST_GITHUB_CLIENT_SECRET='abcdefabcdefabcdefababcdefabcdefabcdefab'
before_script:
- chmod 600 spec/fixtures/.netrc
- gem update --system 2.1.11
- gem --version
| bundler_args: --without development
language: ruby
rvm:
- jruby-19mode
- rbx-19mode
- 1.8.7
- 1.9.2
- 1.9.3
- 2.0.0
- 2.1.0
matrix:
allow_failures:
- rvm: rbx-19mode
env:
- OCTOKIT_TEST_GITHUB_LOGIN="api-padawan" OCTOKIT_TEST_GITHUB_PASSWORD="MYSOCRATESNOTE" OCTOKIT_TEST_GITHUB_TOKEN="6a21f190e3422bf89afa8b360d923b0c30e8fbfa" OCTOKIT_TEST_GITHUB_CLIENT_ID='abcdefabcdefabcdefab' OCTOKIT_TEST_GITHUB_CLIENT_SECRET='abcdefabcdefabcdefababcdefabcdefabcdefab'
before_install:
- gem update bundler
- bundle --version
- gem update --system 2.1.11
- gem --version
before_script:
- chmod 600 spec/fixtures/.netrc
|
Use latest MRI 2.2 release, rather than 2.2.0. | language: ruby
cache: bundler
rvm:
- 2.2
- 2.3.4
- 2.4.1
before_install:
- gem install bundler
before_script:
- ./bin/literals
- bundle exec appraisal update
script: bundle exec appraisal rspec
| language: ruby
cache: bundler
rvm:
- 2.2.7
- 2.3.4
- 2.4.1
before_install:
- gem install bundler
before_script:
- ./bin/literals
- bundle exec appraisal update
script: bundle exec appraisal rspec
|
Remove that last retry command | language: objective-c
osx_image: xcode9.3
xcode_workspace: ReceptionKit.xcworkspace
xcode_scheme: ReceptionKit
# From https://github.com/travis-ci/travis-ci/issues/6675
before_install:
- export IOS_SIMULATOR_UDID=`instruments -s devices | grep "iPad Pro (12.9-inch" | awk -F '[ ]' '{print $4}' | awk -F '[\[]' '{print $2}' | sed 's/.$//'`
- echo $IOS_SIMULATOR_UDID
- open -a "simulator" --args -CurrentDeviceUDID $IOS_SIMULATOR_UDID
install:
- ./Scripts/install_swiftlint.sh
# Temporarily disable xctool: https://github.com/travis-ci/travis-ci/issues/3986
# xcodebuild runs swiftlint automatically
script:
# - swiftlint
# - xctool test -workspace ReceptionKit.xcworkspace -scheme ReceptionKit -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPad Pro'
- travis-retry (set -o pipefail && xcodebuild test -workspace ReceptionKit.xcworkspace -scheme ReceptionKit -destination 'platform=iOS Simulator,name=iPad Pro (12.9-inch)') | xcpretty
| language: objective-c
osx_image: xcode9.3
xcode_workspace: ReceptionKit.xcworkspace
xcode_scheme: ReceptionKit
# From https://github.com/travis-ci/travis-ci/issues/6675
before_install:
- export IOS_SIMULATOR_UDID=`instruments -s devices | grep "iPad Pro (12.9-inch" | awk -F '[ ]' '{print $4}' | awk -F '[\[]' '{print $2}' | sed 's/.$//'`
- echo $IOS_SIMULATOR_UDID
- open -a "simulator" --args -CurrentDeviceUDID $IOS_SIMULATOR_UDID
install:
- ./Scripts/install_swiftlint.sh
# Temporarily disable xctool: https://github.com/travis-ci/travis-ci/issues/3986
# xcodebuild runs swiftlint automatically
script:
# - swiftlint
# - xctool test -workspace ReceptionKit.xcworkspace -scheme ReceptionKit -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPad Pro'
- set -o pipefail && xcodebuild test -workspace ReceptionKit.xcworkspace -scheme ReceptionKit -destination 'platform=iOS Simulator,name=iPad Pro (12.9-inch)' | xcpretty
|
Move to Travis-CI container-based infrastructure | language: python
python:
- "2.7"
- "3.3"
- "3.4"
# does not have headers provided, please ask https://launchpad.net/~pypy/+archive/ppa
# maintainers to fix their pypy-dev package.
#- "pypy"
# command to install dependencies
install:
- sudo apt-get update -qq
- sudo apt-get install -y r-base
- pip install -r dev_requirements.txt --use-mirrors
- if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then pip install mdanalysis; fi
# command to run tests
script:
- nosetests --with-coverage --cover-package=PBlib,PDBlib test_functions.py test_regression.py
#after_success:
| # to use container-based infrastructure
sudo: false
language: python
python:
- "2.7"
- "3.3"
- "3.4"
# command to install dependencies
addons:
apt:
packages:
- r-base
install:
- pip install -r dev_requirements.txt --use-mirrors
- if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then pip install mdanalysis; fi
# command to run tests
script:
- nosetests --with-coverage --cover-package=PBlib,PDBlib test_functions.py test_regression.py
#after_success:
|
Install jupyter for the tests | language: python
matrix:
include:
- python: 3.5
- python: 3.6
- python: 3.7
dist: xenial
sudo: true
# command to install dependencies
#before_install:
# - sudo apt-get install coinor-cbc
install:
- pip install .
- pip install coveralls sphinx nbformat pytest-cov
# command to run tests
script:
- coverage run --rcfile=.coveragerc --source windpowerlib -m py.test
- coverage report
after_success:
- coveralls
| language: python
matrix:
include:
- python: 3.5
- python: 3.6
- python: 3.7
dist: xenial
sudo: true
# command to install dependencies
#before_install:
# - sudo apt-get install coinor-cbc
install:
- pip install .
- pip install coveralls sphinx nbformat pytest-cov jupyter
# command to run tests
script:
- coverage run --rcfile=.coveragerc --source windpowerlib -m py.test
- coverage report
after_success:
- coveralls
|
Update list of Perl versions to be tested | sudo: false
language: perl
perl:
- "5.8"
- "5.10"
- "5.12"
- "5.14"
- "5.16"
- "5.18"
- "5.20"
- "5.22"
- "5.24"
- "5.26"
before_install:
- git clone git://github.com/travis-perl/helpers ~/travis-perl-helpers
- source ~/travis-perl-helpers/init --auto
install:
- cpanm --quiet --installdeps --notest .
- cpanm --quiet --notest Devel::Cover@1.23
- cpanm --quiet --notest Devel::Cover::Report::Coveralls
script:
- cover -delete && cover -test
after_success:
- cover -report coveralls
| sudo: false
language: perl
perl:
- "5.30"
- "5.28"
- "5.26"
- "5.24"
- "5.22"
before_install:
- git clone git://github.com/travis-perl/helpers ~/travis-perl-helpers
- source ~/travis-perl-helpers/init --auto
install:
- cpanm --quiet --installdeps --notest .
- cpanm --quiet --notest Devel::Cover
- cpanm --quiet --notest Devel::Cover::Report::Coveralls
script:
- cover -delete && cover -test
after_success:
- cover -report coveralls
|
Remove extra npm install command | sudo: false
language: php
php:
- '5.6'
- '5.5'
- '5.4'
before_install:
- pyrus install pear/PHP_CodeSniffer
- phpenv rehash
- npm install bower
- npm install gulp
- npm install
install:
- composer install --no-dev --no-scripts --quiet --optimize-autoloader
- npm install --silent --no-spin -p ./web/app/themes/ado-theme/
- bower install --config.cwd="./web/app/themes/ado-theme/"
- gulp --production --cwd ./web/app/themes/ado-theme/
script:
- phpcs --standard=ruleset.xml --extensions=php --ignore=web/wp/,vendor/ -n -s .
| sudo: false
language: php
php:
- '5.6'
- '5.5'
- '5.4'
before_install:
- pyrus install pear/PHP_CodeSniffer
- phpenv rehash
- npm install bower
- npm install gulp
install:
- composer install --no-dev --no-scripts --quiet --optimize-autoloader
- npm install --silent --no-spin -p ./web/app/themes/ado-theme/
- bower install --config.cwd="./web/app/themes/ado-theme/"
- gulp --production --cwd ./web/app/themes/ado-theme/
script:
- phpcs --standard=ruleset.xml --extensions=php --ignore=web/wp/,vendor/ -n -s .
|
Add new version of Go | language: go
before_install:
- go get -u github.com/golang/dep/cmd/dep
- dep ensure
- go get -u github.com/alecthomas/gometalinter
- gometalinter --install
go:
- 1.8
- 1.8.1
- 1.8.2
- 1.8.3
- 1.9
- 1.9.1
- 1.9.2
- tip
script:
- make test
- make lint
services:
- redis-server
env:
- REDIS_DISABLE_BOOTSTRAP=true
matrix:
fast_finish: true
allow_failures:
- go: tip
| language: go
before_install:
- go get -u github.com/golang/dep/cmd/dep
- dep ensure
- go get -u github.com/alecthomas/gometalinter
- gometalinter --install
go:
- 1.8
- 1.8.1
- 1.8.2
- 1.8.3
- 1.9
- 1.9.1
- 1.9.2
- 1.9.3
- 1.9.4
- 1.10.0
- tip
script:
- make test
- make lint
services:
- redis-server
env:
- REDIS_DISABLE_BOOTSTRAP=true
matrix:
fast_finish: true
allow_failures:
- go: tip
|
Fix for builds on Travis failing due to bundler error | language: ruby
rvm:
- "2.1.2"
- "1.9.3"
- "1.8.7"
| language: ruby
before_install:
- gem install bundler
rvm:
- "2.1.2"
- "1.9.3"
- "1.8.7"
|
Add portmidi installation via apt | language: ruby
rvm:
- 1.8.7
notifications:
email: false
| language: ruby
rvm:
- 1.8.7
before_install:
- sudo apt-get update
- sudo apt-get install portmidi
notifications:
email: false
|
Update Travis CI testing matrix | ---
language: ruby
bundler_args: --without development system_tests
before_install: rm Gemfile.lock || true
rvm:
- 1.8.7
- 1.9.3
- 2.0.0
- 2.1.0
script: bundle exec rake test
env:
- PUPPET_VERSION="~> 2.7.0"
- PUPPET_VERSION="~> 3.2.0"
- PUPPET_VERSION="~> 3.3.0"
- PUPPET_VERSION="~> 3.4.0"
- PUPPET_VERSION="~> 3.5.0" STRICT_VARIABLES=yes
- PUPPET_VERSION="~> 3.6.0" STRICT_VARIABLES=yes
- PUPPET_VERSION="~> 3.7.0" STRICT_VARIABLES=yes
- PUPPET_VERSION="~> 3.7.0" STRICT_VARIABLES=yes FUTURE_PARSER=yes
matrix:
exclude:
# Ruby 1.9.3
- rvm: 1.9.3
env: PUPPET_VERSION="~> 2.7.0"
# Ruby 2.0.0
- rvm: 2.0.0
env: PUPPET_VERSION="~> 2.7.0"
# Ruby 2.1.0
- rvm: 2.1.0
env: PUPPET_VERSION="~> 2.7.0"
- rvm: 2.1.0
env: PUPPET_VERSION="~> 3.2.0"
- rvm: 2.1.0
env: PUPPET_VERSION="~> 3.3.0"
- rvm: 2.1.0
env: PUPPET_VERSION="~> 3.4.0"
| ---
language: ruby
bundler_args: --without development
before_install:
- rm Gemfile.lock || true
- gem update bundler
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
script: bundle exec rake test
env:
- PUPPET_GEM_VERSION="~> 3.8.0" STRICT_VARIABLES=yes FUTURE_PARSER=yes
- PUPPET_GEM_VERSION="~> 4.0.0" STRICT_VARIABLES=yes
- PUPPET_GEM_VERSION="~> 4.1.0" STRICT_VARIABLES=yes
- PUPPET_GEM_VERSION="~> 4.2.0" STRICT_VARIABLES=yes
- PUPPET_GEM_VERSION="~> 4.3.0" STRICT_VARIABLES=yes
matrix:
exclude:
|
Update Travis to use Gradle wrapper | language: java
jdk:
- openjdk8
env:
- TEST_COMMAND="gradle clean build"
- TEST_COMMAND="mvn clean install"
script:
- (eval "$TEST_COMMAND")
| language: java
jdk:
- openjdk8
env:
- TEST_COMMAND="./gradlew clean build"
- TEST_COMMAND="mvn clean install"
script:
- (eval "$TEST_COMMAND")
|
Use the new build env on Travis | language: ruby
script: bundle exec rake travis
matrix:
fast_finish: true
include:
- rvm: 1.8.7
gemfile: gemfiles/Gemfile-ruby-1.8.7
- rvm: 1.9.3
gemfile: Gemfile
- rvm: 2.0.0
gemfile: Gemfile
- rvm: 2.1.0
gemfile: Gemfile
- rvm: 2.1.1
gemfile: Gemfile
- rvm: 2.1.1
gemfile: gemfiles/Gemfile-edge
- rvm: jruby-18mode
gemfile: gemfiles/Gemfile-ruby-1.8.7
- rvm: jruby-19mode
gemfile: Gemfile
- rvm: jruby-head
gemfile: Gemfile
allow_failures:
- rvm: jruby-head
notifications:
email: false
irc:
channels:
- "irc.freenode.org#ruby-fog"
template:
- "[#%{build_number}] %{message} %{build_url}"
- "[#%{build_number}] %{commit} on %{branch} by %{author}"
- "[#%{build_number}] %{compare_url}"
on_success: always
on_failure: always
use_notice: false
before_install:
- gem update --system # todo: workaround for https://github.com/rubygems/rubygems/pull/763
| language: ruby
sudo: false
script: bundle exec rake travis
matrix:
fast_finish: true
include:
- rvm: 1.8.7
gemfile: gemfiles/Gemfile-ruby-1.8.7
- rvm: 1.9.3
gemfile: Gemfile
- rvm: 2.0.0
gemfile: Gemfile
- rvm: 2.1.0
gemfile: Gemfile
- rvm: 2.1.1
gemfile: Gemfile
- rvm: 2.1.1
gemfile: gemfiles/Gemfile-edge
- rvm: jruby-18mode
gemfile: gemfiles/Gemfile-ruby-1.8.7
- rvm: jruby-19mode
gemfile: Gemfile
- rvm: jruby-head
gemfile: Gemfile
allow_failures:
- rvm: jruby-head
notifications:
email: false
irc:
channels:
- "irc.freenode.org#ruby-fog"
template:
- "[#%{build_number}] %{message} %{build_url}"
- "[#%{build_number}] %{commit} on %{branch} by %{author}"
- "[#%{build_number}] %{compare_url}"
on_success: always
on_failure: always
use_notice: false
before_install:
- gem update --system # todo: workaround for https://github.com/rubygems/rubygems/pull/763
|
Revert "added before script to setup /tmp" | language: smalltalk
sudo: false
# Select operating system(s)
os:
- linux
- osx
# Select compatible Smalltalk image(s)
smalltalk:
- Pharo-alpha
- Pharo-6.1
- Pharo-5.0
before_script:
#/tmp does not exist in travis by default
#To make tests run correctly, create /tmp before running the scripts
#https://stackoverflow.com/questions/39265413/trouble-with-tmp-directory-on-travis
#https://stackoverflow.com/questions/19253031/heroku-how-to-write-into-tmp-directory
- mkdir -p /tmp | language: smalltalk
sudo: false
# Select operating system(s)
os:
- linux
- osx
# Select compatible Smalltalk image(s)
smalltalk:
- Pharo-alpha
- Pharo-6.1
- Pharo-5.0 |
Switch to an actually modern Ubuntu dist | language: python
python:
- "3.6"
- "3.9"
cache: pip
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/28fee1f221c705851580
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: never # options: [always|never|change] default: always
env:
- SET="-m 'logic or live or destructive or remote or mbtest'"
before_install:
- sudo apt-get update -qq
- sudo apt-get install nodejs
- sudo apt-get install npm
install:
- pip install --quiet -r requirements.txt -r test_requirements.txt
- npm install -g mountebank --production
before_script:
- mkdir -p $HOME/$DEST
- curl -u $KEY $HOST/$FILE > $HOME/$DEST/$FILE
- mb &
script:
- coverage run setup.py test --addopts "$SET"
after_success:
- codecov
| language: python
python:
- "3.6"
- "3.9"
dist: focal
cache: pip
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/28fee1f221c705851580
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: never # options: [always|never|change] default: always
env:
- SET="-m 'logic or live or destructive or remote or mbtest'"
before_install:
- sudo apt-get update -qq
- sudo apt-get install nodejs
- sudo apt-get install npm
install:
- pip install --quiet -r requirements.txt -r test_requirements.txt
- npm install -g mountebank --production
before_script:
- mkdir -p $HOME/$DEST
- curl -u $KEY $HOST/$FILE > $HOME/$DEST/$FILE
- mb &
script:
- coverage run setup.py test --addopts "$SET"
after_success:
- codecov
|
Remove to support io.js from TravisCI. | sudo: false
language: node_js
node_js:
- "0.10"
- "0.12"
- "iojs"
- "4"
notifications:
email: false
| sudo: false
language: node_js
node_js:
- "0.10"
- "0.12"
- "4"
notifications:
email: false
|
Remove Ruby 2.4 from the CI matrix | language: ruby
sudo: false
rvm:
- 2.4.5
- 2.5.3
- ruby-head
cache:
bundler: true
matrix:
allow_failures:
- rvm: ruby-head
fast_finish: true
script:
- bundle exec rake
| language: ruby
sudo: false
rvm:
- 2.5.3
- ruby-head
cache:
bundler: true
matrix:
allow_failures:
- rvm: ruby-head
fast_finish: true
script:
- bundle exec rake
|
Drop CI coverage for ruby 2.1 | sudo: false
language: ruby
rvm:
- 2.1.0
- 2.2.4
- 2.3.0
- ruby-head
matrix:
allow_failures:
- rvm: ruby-head
services:
- redis-server
script: bin/rspec
bundler_args: --without benchmarking
| sudo: false
language: ruby
rvm:
- 2.2.4
- 2.3.0
- ruby-head
matrix:
allow_failures:
- rvm: ruby-head
services:
- redis-server
script: bin/rspec
bundler_args: --without benchmarking
|
Update Travis config to latest. Move Coveralls submission to after_success . | sudo: false
language: node_js
node_js:
- "4.4"
- "6.3"
env:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
before_install:
- npm install -g bob coveralls --loglevel error
script:
- DEBUG=canihaz bob build
- cat .bob/coverage/buster-istanbul/lcov.info | coveralls
| sudo: false
language: node_js
node_js:
- "4.4"
- "6.3"
env:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
before_install:
- npm install -g bob coveralls --loglevel error
script:
- DEBUG=canihaz bob build
after_success
- cat .bob/coverage/buster-istanbul/lcov.info | coveralls
|
Update branch in github actions. | name: github pages
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
- name: Build
run: hugo --verbose --minify
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
cname: hallezucker.com
| name: github pages
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
- name: Build
run: hugo --verbose --minify
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
cname: hallezucker.com
|
Check 64-bit linux builds with gnu and musl libc | language: rust
cache: cargo
services: docker
rust:
- stable
- beta
- nightly
install:
- cargo install cross || true
- source ~/.cargo/env || true
script:
- cross build --target $TARGET
- cross build --target $TARGET --release
env:
- TARGET=armv7-unknown-linux-musleabihf
- TARGET=armv7-unknown-linux-gnueabihf
matrix:
allow_failures:
- rust: nightly
| language: rust
cache: cargo
services: docker
rust:
- stable
- beta
- nightly
install:
- cargo install cross || true
- source ~/.cargo/env || true
script:
- cross build --target $TARGET
- cross build --target $TARGET --release
env:
- TARGET=armv7-unknown-linux-gnueabihf
- TARGET=armv7-unknown-linux-musleabihf
- TARGET=aarch64-unknown-linux-gnu
- TARGET=aarch64-unknown-linux-musl
matrix:
allow_failures:
- rust: nightly
|
Set my email address for notifications | rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- ree
- jruby
- rbx
gemfile:
- Gemfile
script: "bundle exec rspec spec/"
branches:
only:
- master
notifications:
email: false
| rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- ree
- jruby
- rbx
gemfile:
- Gemfile
script: "bundle exec rspec spec/"
branches:
only:
- master
notifications:
email: 'nate@envylabs.com'
|
Move bundler install to before secion | language: java
jdk:
- openjdk7
- oraclejdk7
install:
- gem install bundler
- bundle install
- echo "yes" | sudo apt-add-repository ppa:sharpie/for-science
- echo "yes" | sudo apt-add-repository ppa:sharpie/postgis-stable
- echo "yes" | sudo apt-add-repository ppa:ubuntugis/ubuntugis-unstable
- sudo apt-get update
- sudo apt-get install python-software-properties postgresql-9.1-postgis2
script: buildr clean package
| language: java
jdk:
- openjdk7
- oraclejdk7
before_install:
- gem install bundler
install:
- bundle install
- echo "yes" | sudo apt-add-repository ppa:sharpie/for-science
- echo "yes" | sudo apt-add-repository ppa:sharpie/postgis-stable
- echo "yes" | sudo apt-add-repository ppa:ubuntugis/ubuntugis-unstable
- sudo apt-get update
- sudo apt-get install python-software-properties postgresql-9.1-postgis2
script: buildr clean package
|
Remove jruby build for now | language: ruby
rvm:
- 1.9.3
- 2.0.0
- jruby-19mode
gemfile:
- gemfiles/3.0.gemfile
- gemfiles/3.1.gemfile
- gemfiles/3.2.gemfile
- gemfiles/4.0.gemfile
script: RAILS_ENV=test bundle exec rspec spec
| language: ruby
rvm:
- 1.9.3
- 2.0.0
gemfile:
- gemfiles/3.0.gemfile
- gemfiles/3.1.gemfile
- gemfiles/3.2.gemfile
- gemfiles/4.0.gemfile
script: RAILS_ENV=test bundle exec rspec spec
|
Update Travis. Let's try to enable Apple TV simulator again? | language: objective-c
xcode_project: BinarySpec.xcodeproj
xcode_scheme: BinarySpecTests
osx_image: xcode7.2
env:
- XCODE_SDK=iphonesimulator9.2
- XCODE_SDK=macosx10.11
## The AppleTV simulator's XCTest is referring to the wrong library paths :(
# - XCODE_SDK=appletvsimulator9.0
## Travis doesn't seem to support the real devices yet
# - XCODE_SDK=iphoneos9.1
# - XCODE_SDK=appletvos9.0
before_script:
- gem install cocoaseeds
- seed install
script:
- xctool -project BinarySpec.xcodeproj -scheme BinarySpecTests -sdk $XCODE_SDK build test CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO
| language: objective-c
xcode_project: BinarySpec.xcodeproj
xcode_scheme: BinarySpecTests
osx_image: xcode7.3
env:
- XCODE_SDK=iphonesimulator9.3
- XCODE_SDK=appletvsimulator9.2
- XCODE_SDK=macosx10.11
## Travis doesn't seem to support the real devices yet
# - XCODE_SDK=iphoneos9.1
# - XCODE_SDK=appletvos9.0
before_script:
- gem install cocoaseeds
- seed install
script:
- xctool -project BinarySpec.xcodeproj -scheme BinarySpecTests -sdk $XCODE_SDK build test CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO
|
Use Xcode 10.2 image in Travis CI | language: objective-c
os: osx
osx_image: xcode10
before_install:
- gem install xcpretty
before_script:
- set -o pipefail
script:
- xcodebuild test -project ./AttributedLabel.xcodeproj -scheme AttributedLabelTests -configuration Debug -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 8' | xcpretty -c
notifications:
email: false
| language: objective-c
os: osx
osx_image: xcode10.2
before_install:
- gem install xcpretty
before_script:
- set -o pipefail
script:
- xcodebuild test -project ./AttributedLabel.xcodeproj -scheme AttributedLabelTests -configuration Debug -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 8' | xcpretty -c
notifications:
email: false
|
Test with Node 8, add greenkeeper lock updater | language: node_js
node_js:
- 6
- 4
before_install:
- npm i -g npm@latest
| language: node_js
node_js:
- 8
- 6
- 4
before_install:
- npm i -g npm@5
- install -g greenkeeper-lockfile@1
before_script: greenkeeper-lockfile-update
after_script: greenkeeper-lockfile-upload
|
Install Cocoapods 1.0.0 now that it’s released | language: objective-c
osx_image: xcode7.2
env:
global:
- CONFIG=opt
- TEST=objc
- JOBS=1
before_install:
- gem install cocoapods -v '1.0.0.beta.4'
- brew install gflags
# Pod install does this too, but we don't want the output.
- pod repo update --silent
install:
- make grpc_objective_c_plugin
- pushd src/objective-c/tests
# Needs to be verbose, or otherwise OpenSSL's prepare_command makes Travis
# time out:
- pod --version
- pod install --verbose
- popd
before_script:
- make interop_server
- bins/$CONFIG/interop_server --port=5050 &
- bins/$CONFIG/interop_server --port=5051 --use_tls &
xcode_workspace: src/objective-c/tests/Tests.xcworkspace
xcode_scheme:
- RxLibraryUnitTests
- InteropTestsLocalSSL
- InteropTestsLocalCleartext
# TODO(jcanizales): Investigate why they time out:
# - InteropTestsRemote
xcode_sdk: iphonesimulator9.2
notifications:
email: false
| language: objective-c
osx_image: xcode7.2
env:
global:
- CONFIG=opt
- TEST=objc
- JOBS=1
before_install:
- gem install cocoapods -v '1.0.0'
- brew install gflags
# Pod install does this too, but we don't want the output.
- pod repo update --silent
install:
- make grpc_objective_c_plugin
- pushd src/objective-c/tests
# Needs to be verbose, or otherwise OpenSSL's prepare_command makes Travis
# time out:
- pod --version
- pod install --verbose
- popd
before_script:
- make interop_server
- bins/$CONFIG/interop_server --port=5050 &
- bins/$CONFIG/interop_server --port=5051 --use_tls &
xcode_workspace: src/objective-c/tests/Tests.xcworkspace
xcode_scheme:
- RxLibraryUnitTests
- InteropTestsLocalSSL
- InteropTestsLocalCleartext
# TODO(jcanizales): Investigate why they time out:
# - InteropTestsRemote
xcode_sdk: iphonesimulator9.2
notifications:
email: false
|
Use latest miniconda for tests | language: python
python:
- "2.7"
branches:
only:
- master
- /^v[0-9].*$/
before_install:
- wget http://repo.continuum.io/miniconda/Miniconda-2.2.2-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
- ./miniconda.sh -b
- export PATH=$HOME/anaconda/bin:$PATH
# Update conda
- conda update --yes conda
# Add in Fortran compiler
- sudo apt-get install -y gfortran
install:
# Create conda matching requirements
- conda create --yes -n venv python=$TRAVIS_PYTHON_VERSION pip nose numpy scipy cython gdal scikit-learn statsmodels matplotlib
- source activate venv
# Add deps from binstar
# Add RPy2 for phenology
# - conda install -y -c https://conda.binstar.org/r rpy2
# Workaround for Fortran warnings -- install glmnet first and quietly
- "pip install -q git+git://github.com/ceholden/glmnet-python.git#egg=glmnet"
# Rest of dependencies
- "pip install -r requirements.txt"
- "pip install -r requirements-dev.txt"
- "pip install pytest"
# Install YATSM
- "pip install -e ."
script:
- py.test
- coverage run --source yatsm -m py.test
after_success:
- pip install coveralls
- coverage report
- coveralls
| language: python
python:
- "2.7"
branches:
only:
- master
- /^v[0-9].*$/
before_install:
- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
- ./miniconda.sh -b
- export PATH=$HOME/anaconda/bin:$PATH
# Update conda
- conda update --yes conda
# Add in Fortran compiler
- sudo apt-get install -y gfortran
install:
# Create conda matching requirements
- conda create --yes -n venv python=$TRAVIS_PYTHON_VERSION pip nose numpy scipy cython gdal scikit-learn statsmodels matplotlib
- source activate venv
# Add deps from binstar
# Add RPy2 for phenology
# - conda install -y -c https://conda.binstar.org/r rpy2
# Workaround for Fortran warnings -- install glmnet first and quietly
- "pip install -q git+git://github.com/ceholden/glmnet-python.git#egg=glmnet"
# Rest of dependencies
- "pip install -r requirements.txt"
- "pip install -r requirements-dev.txt"
- "pip install pytest"
# Install YATSM
- "pip install -e ."
script:
- py.test
- coverage run --source yatsm -m py.test
after_success:
- pip install coveralls
- coverage report
- coveralls
|
Fix scheme name for iOS test bundle | # references:
# * http://www.objc.io/issue-6/travis-ci.html
# * https://github.com/supermarin/xcpretty#usage
osx_image: xcode8.2
language: objective-c
# cache: cocoapods
podfile: Example/Podfile
# before_install:
# - gem install cocoapods # Since Travis is not always on latest version
# - pod install --project-directory=Example
script:
- set -o pipefail && xcodebuild test -workspace Example/CGExtensions.xcworkspace -scheme CGExtensions_Example_macOS -sdk macosx10.12 ONLY_ACTIVE_ARCH=NO | xcpretty
- set -o pipefail && xcodebuild test -workspace Example/CGExtensions.xcworkspace -scheme CGExtensions_Example_macOS -sdk iphonesimulator10.2 ONLY_ACTIVE_ARCH=NO | xcpretty
- bundle exec pod lib lint
| # references:
# * http://www.objc.io/issue-6/travis-ci.html
# * https://github.com/supermarin/xcpretty#usage
osx_image: xcode8.2
language: objective-c
# cache: cocoapods
podfile: Example/Podfile
# before_install:
# - gem install cocoapods # Since Travis is not always on latest version
# - pod install --project-directory=Example
script:
- set -o pipefail && xcodebuild test -workspace Example/CGExtensions.xcworkspace -scheme CGExtensions_Example_macOS -sdk macosx10.12 ONLY_ACTIVE_ARCH=NO | xcpretty
- set -o pipefail && xcodebuild test -workspace Example/CGExtensions.xcworkspace -scheme CGExtensions-Example -sdk iphonesimulator10.2 ONLY_ACTIVE_ARCH=NO | xcpretty
- bundle exec pod lib lint
|
Test various core recipes in Travis | language: php
php:
- 5.6
- 7.0
- 7.1
- 7.2
before_install:
- composer self-update
- composer require silverstripe/recipe-cms ^1
script:
- php vendor/bin/phpunit --coverage-clover=coverage.xml
after_success:
- mv coverage.xml ~/build/$TRAVIS_REPO_SLUG
- cd ~/build/$TRAVIS_REPO_SLUG
- bash <(curl -s https://codecov.io/bash)
| language: php
matrix:
include:
- php: 5.6
env: DB=MYSQL RECIPE_VERSION=1.0.x-dev
- php: 7.0
env: DB=MYSQL RECIPE_VERSION=1.1.x-dev
- php: 7.1
env: DB=MYSQL RECIPE_VERSION=4.2.x-dev
- php: 7.2
env: DB=MYSQL RECIPE_VERSION=4.x-dev
before_install:
- composer self-update
- composer require silverstripe/recipe-cms $RECIPE_VERSION
script:
- php vendor/bin/phpunit --coverage-clover=coverage.xml
after_success:
- mv coverage.xml ~/build/$TRAVIS_REPO_SLUG
- cd ~/build/$TRAVIS_REPO_SLUG
- bash <(curl -s https://codecov.io/bash)
|
Fix unit testing call for Travis | os:
- linux
- osx
language: csharp
env:
- CONFIGURATION=Release FLAVOUR=release
mono:
- 4.8.0
solution: IronPython.sln
script:
- if [[ "$TRAVIS_OS_NAME" != "osx" ]] ; then sudo apt-get install -y binfmt-support libmono-system-windows-forms4.0-cil ; fi
- mono Util/NuGet/nuget.exe restore
- make $FLAVOUR
- pushd bin/$CONFIGURATION
- mono ./IronPythonTest.exe --labels=All --result:all-result.xml
notifications:
email:
recipients:
- developers+int+211+854770831703316759@ironpython.groups.io
on_success: always # default: change
#on_failure: [always|never|change] # default: always
webhooks:
urls:
- https://webhooks.gitter.im/e/9fdb5c75f38c850816f8
| os:
- linux
- osx
language: csharp
env:
- CONFIGURATION=Release
mono:
- 4.8.0
solution: IronPython.sln
script:
- if [[ "$TRAVIS_OS_NAME" != "osx" ]] ; then sudo apt-get install -y binfmt-support libmono-system-windows-forms4.0-cil ; fi
- mono Util/NuGet/nuget.exe restore
- make
- pushd bin/$CONFIGURATION
- make test-all
notifications:
email:
recipients:
- developers+int+211+854770831703316759@ironpython.groups.io
on_success: always # default: change
#on_failure: [always|never|change] # default: always
webhooks:
urls:
- https://webhooks.gitter.im/e/9fdb5c75f38c850816f8
|
Remove assembly.cs versioning and re-enable nuget publishing | # {build} is required by AppVeyor to uniquely identify its builds on the url
# It is a continuously incrementing number so when used it violates the reset
# smaller build parts rule of semantic versioning. Therefore we introduce a
# second environment variable semantic_version.
# Until a newer version of dotnet/nuget sdk is released (currently 1.0.4)
# Also need to set version number in Redo/Redo.nuspec file.
version: 0.6.0.{build}
image: Visual Studio 2017
environment:
RunCodeAnalysis: false
configuration:
- Debug
- Release
install:
- set semantic_version=%APPVEYOR_BUILD_VERSION:~0,5%
- echo Version - %semantic_version%
- dotnet restore
nuget:
disable_publish_on_pr: true
assembly_info:
patch: false
file: '**\AssemblyInfo.*'
assembly_version: '$(semantic_version).{build}'
assembly_file_version: '$(semantic_version).{build}'
assembly_informational_version: '$(semantic_version)'
build:
parallel: true
verbosity: normal
test_script:
- cmd: dotnet test Redo.Test\Redo.Test.csproj
artifacts:
- path: '**\*.nupkg'
deploy:
- provider: NuGet
on:
branch: donotpublish-master
configuration: Release
api_key:
secure: dUMLXnYuqF7ORswtDCtj2XgKlpLMKrXZrq9m/FEN2xu0vTClejXqADyxMEawTs2W
skip_symbols: true
artifact: /.*\.nupkg/
| # {build} is required by AppVeyor to uniquely identify its builds on the url
# It is a continuously incrementing number so when used it violates the reset
# smaller build parts rule of semantic versioning. Therefore we introduce a
# second environment variable semantic_version.
# Until a newer version of dotnet/nuget sdk is released (currently 1.0.4)
# Also need to set version number in Redo/Redo.nuspec file.
version: 0.6.0.{build}
image: Visual Studio 2017
environment:
RunCodeAnalysis: false
configuration:
- Debug
- Release
install:
- set semantic_version=%APPVEYOR_BUILD_VERSION:~0,5%
- echo Version - %semantic_version%
- dotnet restore
nuget:
disable_publish_on_pr: true
build:
parallel: true
verbosity: normal
test_script:
- cmd: dotnet test Redo.Test\Redo.Test.csproj
artifacts:
- path: '**\*.nupkg'
deploy:
- provider: NuGet
on:
branch: master
configuration: Release
api_key:
secure: dUMLXnYuqF7ORswtDCtj2XgKlpLMKrXZrq9m/FEN2xu0vTClejXqADyxMEawTs2W
skip_symbols: true
artifact: /.*\.nupkg/
|
Use build script for Appveyor. | version: '{build}'
before_build:
- cmd: nuget restore
build:
verbosity: minimal | version: '{build}'
build_script:
- ps: ./build.ps1
test: off
|
Use supported NodeJS version on Win CI build | # appveyor file
# http://www.appveyor.com/docs/appveyor-yml
environment:
matrix:
- NODE_VERSION: "6"
NPM_VERSION: "3"
- NODE_VERSION: "7"
NPM_VERSION: "3"
- NODE_VERSION: "7"
NPM_VERSION: "4"
- NODE_VERSION: "8"
NPM_VERSION: "4"
- NODE_VERSION: "8"
NPM_VERSION: "5"
- NODE_VERSION: "9"
NPM_VERSION: "5"
- NODE_VERSION: "10"
NPM_VERSION: "6"
platform:
- x86
- x64
install:
- ps: Install-Product node $env:NODE_VERSION
- node --version
- npm --version
- npm install -g npm@%NPM_VERSION%
- npm install -g jshint
- npm install -g istanbul
- npm install -g istanbul-coveralls
- npm install -g nodeunit
build: off
test_script:
- cd core
- npm install .
- npm test
- npm install . -g
- cd ..
- cd cli
- npm install .
- npm test
- npm install . -g
- .\runTests
| # appveyor file
# http://www.appveyor.com/docs/appveyor-yml
environment:
matrix:
- NODE_VERSION: "8"
NPM_VERSION: "5"
- NODE_VERSION: "9"
NPM_VERSION: "5"
- NODE_VERSION: "10"
NPM_VERSION: "6"
platform:
- x86
- x64
install:
- ps: Install-Product node $env:NODE_VERSION
- node --version
- npm --version
- npm install -g npm@%NPM_VERSION%
- npm install -g jshint
- npm install -g istanbul
- npm install -g istanbul-coveralls
- npm install -g nodeunit
build: off
test_script:
- cd core
- npm install .
- npm test
- npm install . -g
- cd ..
- cd cli
- npm install .
- npm test
- npm install . -g
- .\runTests
|
Update from Hackage at 2018-03-09T14:27:46Z | homepage: https://github.com/mvv/posix-socket
changelog-type: ''
hash: 711cb60161fa3df47b88a70fcc2bc2df1da32d2d6b812b60fa4cc781feffdbf0
test-bench-deps: {}
maintainer: Mikhail Vorozhtsov <mikhail.vorozhtsov@gmail.com>
synopsis: Bindings to the POSIX socket API
changelog: ''
basic-deps:
bytestring: ! '>=0.9.1.10'
unix: ! '>=2.4'
base: ! '>=4.7 && <5'
data-default-class: ! '>=0.0.1'
data-flags: ! '>=0.0.3'
network-ip: ! '>=0.2.1'
transformers-base: ! '>=0.3'
all-versions:
- '0.1'
- '0.2'
author: Mikhail Vorozhtsov <mikhail.vorozhtsov@gmail.com>
latest: '0.2'
description-type: haddock
description: This package provides bindings to the POSIX socket API.
license-name: BSD3
| homepage: https://github.com/mvv/posix-socket
changelog-type: ''
hash: 4947e832ace8b40a26039f533f321b1e6a590f315ebadceca3960e5cc9f5f625
test-bench-deps: {}
maintainer: Mikhail Vorozhtsov <mikhail.vorozhtsov@gmail.com>
synopsis: Bindings to the POSIX socket API
changelog: ''
basic-deps:
bytestring: ! '>=0.9.1.10'
unix: ! '>=2.4'
base: ! '>=4.7 && <5'
data-default-class: ! '>=0.0.1'
data-flags: ! '>=0.0.3'
network-ip: ! '>=0.2.1'
transformers-base: ! '>=0.3'
all-versions:
- '0.1'
- '0.2'
- '0.3'
author: Mikhail Vorozhtsov <mikhail.vorozhtsov@gmail.com>
latest: '0.3'
description-type: markdown
description: ! "POSIX-Socket\n===========\n\n[](https://travis-ci.org/mvv/posix-socket)
[](http://hackage.haskell.org/package/posix-socket)\n\nThis
package provides bindings to the POSIX socket API.\n\nInstallation\n------------\nThe
usual:\n\n\t$ cabal install\n\n"
license-name: BSD3
|
Update from Forestry.io - Updated Forestry configuration | ---
label: Article
hide_body: false
is_partial: false
fields:
- name: layout
label: Layout
type: text
hidden: false
default: post
- name: title
label: Title
type: text
hidden: false
default: ''
| ---
label: Article
hide_body: false
is_partial: false
fields:
- name: layout
label: Layout
type: text
hidden: false
default: post
- name: title
label: Title
type: text
hidden: false
default: ''
- type: datetime
|
Update release and deploy targets | image: ruby:1.9
environment:
- CODECLIMATE_REPO_TOKEN
- COVERALLS_TOKEN
- GIT_COMMIT
- GIT_SSH_KEY
- RUBYGEMS_API_KEY
targets:
build:
- bundle install --path=vendor/bundle
- bundle exec rake spec
release:
- mkdir -p ~/.ssh
- cp ${GIT_SSH_KEY} ~/.ssh/id_rsa
- chmod 0600 ~/.ssh/id_rsa
- printf "Host github.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
- git config push.default simple
- git checkout master
- git pull --rebase
- echo ${GIT_COMMIT}
- git merge --commit ${GIT_COMMIT}
- git push origin
- git checkout develop
- git pull --rebase
- bundle install --path vendor/bundle
- bundle exec gem bump --version minor --push
deploy:
- mkdir -p ~/.ssh
- cp ${GIT_SSH_KEY} ~/.ssh/id_rsa
- chmod 0600 ~/.ssh/id_rsa
- printf "Host github.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
- git config push.default simple
- mkdir -p ~/.gem
- "printf -- \"---\\n:rubygems_api_key: ${RUBYGEMS_API_KEY}\" >> ~/.gem/credentials"
- chmod 0600 ~/.gem/credentials
- bundle install --path vendor/bundle
- bundle exec gem release --tag
| image: ruby:1.9
environment:
- CODECLIMATE_REPO_TOKEN
- COVERALLS_TOKEN
- GIT_COMMIT
- GIT_SSH_KEY
- RUBYGEMS_API_KEY
targets:
build:
- bundle install --path=vendor/bundle
- bundle exec rake spec
release:
- git config user.name lstephen
- git config user.email levi.stephen@gmail.com
- mkdir -p ~/.ssh
- cp ${GIT_SSH_KEY} ~/.ssh/id_rsa
- chmod 0600 ~/.ssh/id_rsa
- printf "Host github.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
- git config push.default simple
- git checkout master
- git pull --rebase
- echo ${GIT_COMMIT}
- git merge --commit ${GIT_COMMIT}
- git push origin
- git checkout develop
- git pull --rebase
- bundle install --path vendor/bundle
- bundle exec gem bump --version minor --push
deploy:
- git config user.name lstephen
- git config user.email levi.stephen@gmail.com
- mkdir -p ~/.ssh
- cp ${GIT_SSH_KEY} ~/.ssh/id_rsa
- chmod 0600 ~/.ssh/id_rsa
- printf "Host github.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
- git config push.default simple
- mkdir -p ~/.gem
- "printf -- \"---\\n:rubygems_api_key: ${RUBYGEMS_API_KEY}\" >> ~/.gem/credentials"
- chmod 0600 ~/.gem/credentials
- bundle install --path vendor/bundle
- bundle exec gem release --tag
|
Make 'aliases' an optional parameter | ---
# Where the rubber meets the road. stuff gets done
- name: Manage ssh_known_hosts file
sshknownhosts:
host: "{{ item.name }}"
aliases: "{{ item.aliases|join(',') }}"
state: "{{ item.state|default(ssh_known_hosts_state) }}"
dest: "{{ item.path|default(ssh_known_hosts_path) }}"
enctype: "{{ item.enctype|default(ssh_known_hosts_enctype) }}"
port: "{{ item.port|default(ssh_known_hosts_port) }}"
keyscan: "{{ item.keyscan|default(ssh_known_hosts_keyscan) }}"
with_items: ssh_known_hosts
| ---
# Where the rubber meets the road. stuff gets done
- name: Manage ssh_known_hosts file
sshknownhosts:
host: "{{ item.name }}"
aliases: "{{ item.aliases|join(',') if item.aliases is defined else omit }}"
state: "{{ item.state|default(ssh_known_hosts_state) }}"
dest: "{{ item.path|default(ssh_known_hosts_path) }}"
enctype: "{{ item.enctype|default(ssh_known_hosts_enctype) }}"
port: "{{ item.port|default(ssh_known_hosts_port) }}"
keyscan: "{{ item.keyscan|default(ssh_known_hosts_keyscan) }}"
with_items: ssh_known_hosts
|
Fix branch specifier in GH Actions workflow | name: Build
on:
push:
branches: [ $default-branch ]
pull_request:
branches: [ $default-branch ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 14
cache: 'npm'
- run: npm ci
- run: npm run build
- run: npm run bundle
- run: ls -lhR dist
| name: Build
on:
push:
branches:
- master
- develop
pull_request:
branches:
- master
- develop
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 14
cache: 'npm'
- run: npm ci
- run: npm run build
- run: npm run bundle
- run: ls -lhR dist
|
Fix Gtest compilation in workflow | name: Routine Exam
on: [push, pull_request]
jobs:
unit-tests:
name: Unit Tests
runs-on: ubuntu-latest
steps:
- name: Install gtest manually
run: sudo apt-get install libgtest-dev
&& cd /usr/src/gtest
&& CXX=g++-10 sudo cmake CMakeLists.txt
&& sudo make -j
&& sudo cp *.a /usr/lib
&& sudo ln -s /usr/lib/libgtest.a /usr/local/lib/libgtest.a
&& sudo ln -s /usr/lib/libgtest_main.a /usr/local/lib/libgtest_main.a
- uses: actions/checkout@v2
- name: Configure project
run: mkdir build
&& cd build
&& CXX=g++-10 cmake ..
- name: Build project
run: cd build
&& make -j run_tests
- name: Run tests
run: ./build/bin/run_tests
| name: Routine Exam
on: [push, pull_request]
jobs:
unit-tests:
name: Unit Tests
runs-on: ubuntu-latest
steps:
- name: Install gtest manually
run: sudo apt-get install libgtest-dev
&& cd /usr/src/gtest
&& CXX=g++-10 sudo cmake CMakeLists.txt
&& sudo make -j
&& sudo cp lib/*a /usr/lib
&& sudo ln -s /usr/lib/libgtest.a /usr/local/lib/libgtest.a
&& sudo ln -s /usr/lib/libgtest_main.a /usr/local/lib/libgtest_main.a
- uses: actions/checkout@v2
- name: Configure project
run: mkdir build
&& cd build
&& CXX=g++-10 cmake ..
- name: Build project
run: cd build
&& make -j run_tests
- name: Run tests
run: ./build/bin/run_tests
|
Update the rvm install path to use /home/nick | ---
- hosts: localhost
remote_user: travis
sudo: true
vars:
rvm1_rubies:
- 'ruby-2.1.0'
- 'ruby-2.1.2'
rvm1_user: 'travis'
rvm1_group: 'audio'
rvm1_temp_download_path: '/tmp'
rvm1_install_path: '~/.rvm'
roles:
- ansible-ruby | ---
- hosts: localhost
remote_user: travis
sudo: true
vars:
rvm1_rubies:
- 'ruby-2.1.0'
- 'ruby-2.1.2'
rvm1_user: 'travis'
rvm1_group: 'audio'
rvm1_temp_download_path: '/tmp'
rvm1_install_path: '$HOME/.rvm'
roles:
- ansible-ruby |
Use different port for local query service | server.port: 9021
spring:
cloud:
config:
uri: http://localhost:8888
| server.port: 9022
spring:
cloud:
config:
uri: http://localhost:8888
|
Switch to newer ci image | pr:
- master
jobs:
- job: Windows
pool:
vmImage: windows-2019
steps:
- powershell: ./build.ps1 -Target Build
- job: Delivery
dependsOn:
- Windows
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
pool:
vmImage: windows-2019
steps:
- powershell: ./build.ps1 -Target Publish-Nuget
- task: CopyFiles@2
inputs:
SourceFolder: 'src\PSO\bin\Release'
Contents: '**'
TargetFolder: '$(Build.ArtifactStagingDirectory)'
- task: NuGetCommand@2
inputs:
command: 'push'
packagesToPush: '$(Build.ArtifactStagingDirectory)/**/*.nupkg;!$(Build.ArtifactStagingDirectory)/**/*.symbols.nupkg'
nuGetFeedType: 'internal'
publishVstsFeed: 'b945e56a-1d37-4ffd-8aa1-d726c3b8e38d/3a7a4889-34c3-49d1-9d2f-3c57e909436c' | pr:
- master
jobs:
- job: Windows
pool:
vmImage: windows-2022
steps:
- powershell: ./build.ps1 -Target Build
- job: Delivery
dependsOn:
- Windows
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
pool:
vmImage: windows-2022
steps:
- powershell: ./build.ps1 -Target Publish-Nuget
- task: CopyFiles@2
inputs:
SourceFolder: 'src\PSO\bin\Release'
Contents: '**'
TargetFolder: '$(Build.ArtifactStagingDirectory)'
- task: NuGetCommand@2
inputs:
command: 'push'
packagesToPush: '$(Build.ArtifactStagingDirectory)/**/*.nupkg;!$(Build.ArtifactStagingDirectory)/**/*.symbols.nupkg'
nuGetFeedType: 'internal'
publishVstsFeed: 'b945e56a-1d37-4ffd-8aa1-d726c3b8e38d/3a7a4889-34c3-49d1-9d2f-3c57e909436c'
|
Update from Hackage at 2017-12-20T01:39:21Z | homepage: https://github.com/SaneTracker/librato
changelog-type: ''
hash: 8efc9ff9ebb1b96a0231cb5e41f2165ce9030f6c753b91dad8cf1aa348020797
test-bench-deps: {}
maintainer: ian@iankduncan.com
synopsis: Bindings to the Librato API
changelog: ''
basic-deps:
http-client: -any
either: -any
bytestring: -any
base: <5
unordered-containers: -any
text: -any
uri-templater: ! '>=0.2'
mtl: -any
attoparsec: -any
http-conduit: -any
resourcet: -any
http-types: -any
aeson: -any
vector: -any
all-versions:
- '0.1.0.0'
- '0.2.0.1'
author: Ian Duncan
latest: '0.2.0.1'
description-type: markdown
description: ! 'librato
=======
Haskell bindings to the Librato API
'
license-name: MIT
| homepage: https://github.com/SaneTracker/librato
changelog-type: ''
hash: 3dfad8c6ae5d6370dfb85126aa6f80f73b3469d2dad4f7466bdcbb5b4809ad1a
test-bench-deps: {}
maintainer: ian@iankduncan.com
synopsis: Bindings to the Librato API
changelog: ''
basic-deps:
http-client: -any
either: <5
bytestring: -any
base: <5
unordered-containers: -any
text: -any
uri-templater: ! '>=0.2'
mtl: -any
attoparsec: -any
http-conduit: -any
resourcet: -any
http-types: -any
aeson: -any
vector: -any
all-versions:
- '0.1.0.0'
- '0.2.0.1'
author: Ian Duncan
latest: '0.2.0.1'
description-type: markdown
description: ! 'librato
=======
Haskell bindings to the Librato API
'
license-name: MIT
|
Update from Hackage at 2015-07-28T11:38:58+0000 | homepage: http://github.com/takano-akio/fast-builder
changelog-type: ''
hash: ea807df536ba9bdbb7c9658644db16478acdff7df1bb3be4af094072ddb721ad
test-bench-deps:
fast-builder: -any
true-name: -any
bytestring: -any
stm: -any
base: -any
unordered-containers: -any
text: -any
criterion: -any
process: -any
ghc-prim: -any
deepseq: -any
scientific: -any
QuickCheck: -any
aeson: -any
template-haskell: -any
vector: -any
maintainer: aljee@hyper.cx
synopsis: Fast ByteString Builder
changelog: ''
basic-deps:
bytestring: ! '>=0.10.6.0'
base: ==4.8.0.0
ghc-prim: -any
all-versions:
- '0.0.0.0'
author: Takano Akio
latest: '0.0.0.0'
description-type: haddock
description: ! 'An efficient implementation of ByteString builder. It should be faster
than
the standard implementation in most cases.'
license-name: PublicDomain
| homepage: http://github.com/takano-akio/fast-builder
changelog-type: ''
hash: 3b2833df832f98c31f03b19100daf8113e02938ad97feefe1ddeb8c17b93b2af
test-bench-deps:
fast-builder: -any
true-name: -any
bytestring: -any
stm: -any
base: -any
unordered-containers: -any
text: -any
criterion: -any
process: -any
containers: -any
ghc-prim: -any
deepseq: -any
scientific: -any
QuickCheck: -any
aeson: -any
template-haskell: -any
vector: -any
maintainer: aljee@hyper.cx
synopsis: Fast ByteString Builder
changelog: ''
basic-deps:
bytestring: ! '>=0.10.6.0'
base: ! '>=4.8 && <4.9'
ghc-prim: -any
all-versions:
- '0.0.0.0'
- '0.0.0.1'
author: Takano Akio
latest: '0.0.0.1'
description-type: haddock
description: ! 'An efficient implementation of ByteString builder. It should be faster
than
the standard implementation in most cases.
In many benchmarks, the performance improvement is 2x-10x.'
license-name: PublicDomain
|
Add proper indentation for readbility | name: odm2adminenv
channels:
- conda-forge
dependencies:
- python=2.7
- django=1.9
- psycopg2
- pip:
- django-uuidfield
- django-ajax-selects
- django-admin-shortcuts
- djangocms-admin-style==0.2.7
- django-apptemplates
- django-daterange-filter
- django-import-export
- django-jquery | name: odm2adminenv
channels:
- conda-forge
dependencies:
- python=2.7
- django=1.9
- psycopg2
- pip:
- django-uuidfield
- django-ajax-selects
- django-admin-shortcuts
- djangocms-admin-style==0.2.7
- django-apptemplates
- django-daterange-filter
- django-import-export
- django-jquery
|
Update config to reflect change to https | # top level stuff you probably don't need to touch
highlighter: rouge
markdown: kramdown
#rdiscount:
# extensions: [smart]
permalink: /:title
paginate: 5
gems: [jekyll-paginate]
port: 3000
safe: true
# edit here to achieve your personal greatness
url: http://hautahi.com/
description: Kia ora, I'm an economist based in Washington DC.
baseurl: /
title: Hautahi Kingi
author: Hautahi Kingi
description: Personal website
avatar: profile.jpg
#email: yourname@email.com
#github: biomadeira/sustain # username
#twitter: username
#linkedin: username
#stackoverflow: username #e.g: users/2735833/proton1h1
#Comment out if you don't want disqus
disqus: hautahi
google_analytics: UA-90951306-1
# needed for travis-ci build
exclude: [vendor]
| # top level stuff you probably don't need to touch
highlighter: rouge
markdown: kramdown
#rdiscount:
# extensions: [smart]
permalink: /:title
paginate: 5
gems: [jekyll-paginate]
port: 3000
safe: true
# edit here to achieve your personal greatness
url: https://hautahi.com/
description: Kia ora, I'm an economist based in Washington DC.
baseurl: /
title: Hautahi Kingi
author: Hautahi Kingi
description: Personal website
avatar: profile.jpg
#email: yourname@email.com
#github: biomadeira/sustain # username
#twitter: username
#linkedin: username
#stackoverflow: username #e.g: users/2735833/proton1h1
#Comment out if you don't want disqus
disqus: hautahi
google_analytics: UA-90951306-1
# needed for travis-ci build
exclude: [vendor]
|
Change baseurl to correct host page on GitHub pages | # Site settings
title: Emerald | A simple Jekyll blog
description: "A minimal blog template, build with Jekyll."
url: "http://www.jacoporabolini.com/emerald"
author:
name: "Jacopo Rabolini"
email: "hello@jacoporabolini.com"
url: "http://www.jacoporabolini.com"
# Build settings
baseurl: /emerald/ # Change this to your relative path (ex: /blog/), or leave just a /
markdown: kramdown
source: .
destination: ./_site
permalink: /:title
paginate: 8
paginate_path: /page:num/
# Default values
defaults:
-
scope:
path: ""
type: "posts"
values:
layout: "post"
# Custom variables
version: "1.1.0"
# Options
custom_header: false
custom_nav_footer: false
reverse: false
| # Site settings
title: Emerald | A simple Jekyll blog
description: "A minimal blog template, build with Jekyll."
url: "http://www.jacoporabolini.com/emerald"
author:
name: "Jacopo Rabolini"
email: "hello@jacoporabolini.com"
url: "http://www.jacoporabolini.com"
# Build settings
baseurl: / # Change this to your relative path (ex: /blog/), or leave just a /
markdown: kramdown
source: .
destination: ./_site
permalink: /:title
paginate: 8
paginate_path: /page:num/
# Default values
defaults:
-
scope:
path: ""
type: "posts"
values:
layout: "post"
# Custom variables
version: "1.1.0"
# Options
custom_header: false
custom_nav_footer: false
reverse: false
|
Fix issue when uploading large files | ###############################
##### TOSCAna Properties ######
###############################
toscana:
mappings:
enable-artifact-list: true
################################
##### Spring HTTP Settings #####
################################
spring:
main:
banner-mode: "off"
# http:
# multipart:
# enabled: true
# max-file-size: 10000MB
# max-request-size: 100000MB:
######################################
##### Data Directory Properties ######
######################################
# no fallback value supplied here. value is computed at runtime, as it is platform dependent
# use this at runtime
datadir:
# if datadir was not supplied, datadir falls back to these values (depending on runtime environment)
datadir_win: ${user.home}/AppData/toscana
datadir_nix: ${user.home}/.toscana
##########################################
##### SPRING BOOT ACTUATOR SETTINGS ######
##########################################
# Disable security for spring boot actuator
management:
security:
enabled: false
# Comment out the following part to get full access to all spring boot actuator features
endpoints.enabled: false
endpoints:
metrics.enabled: true
health.enabled: true
mappings.enabled: true
| ###############################
##### TOSCAna Properties ######
###############################
toscana:
mappings:
enable-artifact-list: true
################################
##### Spring HTTP Settings #####
################################
spring:
main:
banner-mode: "off"
http:
multipart:
enabled: true
max-file-size: 10000MB
max-request-size: 10000MB
file-size-threshold: 10MB
######################################
##### Data Directory Properties ######
######################################
# no fallback value supplied here. value is computed at runtime, as it is platform dependent
# use this at runtime
datadir:
# if datadir was not supplied, datadir falls back to these values (depending on runtime environment)
datadir_win: ${user.home}/AppData/toscana
datadir_nix: ${user.home}/.toscana
##########################################
##### SPRING BOOT ACTUATOR SETTINGS ######
##########################################
# Disable security for spring boot actuator
management:
security:
enabled: false
# Comment out the following part to get full access to all spring boot actuator features
endpoints:
enabled: false
metrics:
enabled: true
health:
enabled: true
mappings:
enabled: true
|
Remove host param in order to make d2bm v2 work | ---
declared-services:
evemongo:
label: mongodb
plan: 100
everedis:
label: rediscloud
plan: 30mb
applications:
- name: macreduce
memory: 256M
instances: 1
host: macreduce
domain: mybluemix.net
path: .
services:
- everedis
- evemongo
| ---
declared-services:
evemongo:
label: mongodb
plan: 100
everedis:
label: rediscloud
plan: 30mb
applications:
- name: macreduce
memory: 256M
instances: 1
domain: mybluemix.net
path: .
services:
- everedis
- evemongo
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.