Instruction
stringlengths
14
778
input_code
stringlengths
0
4.24k
output_code
stringlengths
1
5.44k
Add data bag path to client suite
driver: name: vagrant provisioner: name: chef_zero platforms: - name: centos-5.11 - name: centos-6.7 - name: centos-7.2 - name: debian-7.9 run_list: apt::default - name: debian-8.2 run_list: apt::default - name: fedora-22 run_list: yum::dnf_yum_compat - name: fedora-23 run_list: yum::dnf_yum_compat - name: ubuntu-12.04 run_list: apt::default - name: ubuntu-14.04 run_list: apt::default suites: - name: default run_list: - recipe[ossec] - name: client run_list: - recipe[ossec::client] - name: server run_list: - recipe[ossec::server] data_bags_path: 'test/integration/default/data_bags'
driver: name: vagrant provisioner: name: chef_zero platforms: - name: centos-5.11 - name: centos-6.7 - name: centos-7.2 - name: debian-7.9 run_list: apt::default - name: debian-8.2 run_list: apt::default - name: fedora-22 run_list: yum::dnf_yum_compat - name: fedora-23 run_list: yum::dnf_yum_compat - name: ubuntu-12.04 run_list: apt::default - name: ubuntu-14.04 run_list: apt::default suites: - name: default run_list: - recipe[ossec] - name: client run_list: - recipe[ossec::client] data_bags_path: 'test/integration/default/data_bags' - name: server run_list: - recipe[ossec::server] data_bags_path: 'test/integration/default/data_bags'
Update Node versions to test
sudo: required dist: trusty language: node_js node_js: - "4.0" - "4.1" - "4.2" - "4.3" - "5.0" - "5.1" - "5.2" - "5.3" - "5.4" - "5.5" - "5.6" - "5.7" - node matrix: allow_failures: - node_js: "4.0" - node_js: "4.1" - node_js: "4.2" - node_js: "4.3" before_install: sudo apt-get update && sudo apt-get install lcov -y before_script: npm install -g coveralls node-gyp after_success: - npm run benchmark - node-gyp --debug rebuild - npm test -- --coverage --coverage-report=lcov - lcov -c -d . --no-external -o lcov-cpp.info - lcov -r lcov-cpp.info "*/node_modules/*" -o lcov-cpp.info - lcov -a lcov-cpp.info -a coverage/lcov.info -o lcov.info - coveralls < lcov.info
sudo: required dist: trusty language: node_js node_js: - "4.0" - "4.1" - "4.2" - "4.3" - "5.0" - "5.1" - "5.2" - "5.3" - "5.4" - "5.5" - "5.6" - "5.7" - "5.8" - node matrix: allow_failures: - node_js: "4.0" - node_js: "4.1" - node_js: "4.2" - node_js: "4.3" before_install: sudo apt-get update && sudo apt-get install lcov -y before_script: npm install -g coveralls node-gyp after_success: - npm run benchmark - node-gyp --debug rebuild - npm test -- --coverage --coverage-report=lcov - lcov -c -d . --no-external -o lcov-cpp.info - lcov -r lcov-cpp.info "*/node_modules/*" -o lcov-cpp.info - lcov -a lcov-cpp.info -a coverage/lcov.info -o lcov.info - coveralls < lcov.info
Add php 7.0 for Travis CI.
language: php php: - 5.5 - 5.6 - hhvm - nightly before_install: - composer self-update install: - composer install --dev --prefer-source before_script: - mkdir -p build/logs - rm -rf app/cache/*/* script: - vendor/bin/phpunit -c phpunit.xml.dist after_script: - vendor/bin/coveralls -v matrix: allow_failures: - php: hhvm
language: php php: - 5.5 - 5.6 - 7.0 - hhvm before_install: - composer self-update install: - composer install --dev --prefer-source before_script: - mkdir -p build/logs - rm -rf app/cache/*/* script: - vendor/bin/phpunit -c phpunit.xml.dist after_script: - vendor/bin/coveralls -v matrix: allow_failures: - php: 7.0 - php: hhvm
Validate the HTML, not just links
language: ruby sudo: false dist: trusty install: gem install html-proofer script: htmlproof branches: only: - master notifications: email: false
language: ruby sudo: false dist: trusty install: gem install html-proofer script: htmlproof --check-html true branches: only: - master notifications: email: false
Migrate to new Travis' container
language: ruby rvm: - 2.0.0 - 2.1.8 - 2.2.4 - 2.3.0 before_install: gem update bundler # To use 1.10.0 or later. See: https://github.com/bundler/bundler/issues/3558 script: bundle exec rake notifications: webhooks: - https://idobata.io/hook/6a98db40-ac68-45ec-a1b4-d8dd5851c2e3
language: ruby sudo: false cache: bundler rvm: - 2.0.0 - 2.1.8 - 2.2.4 - 2.3.0 before_install: gem update bundler # To use 1.10.0 or later. See: https://github.com/bundler/bundler/issues/3558 script: bundle exec rake notifications: webhooks: - https://idobata.io/hook/6a98db40-ac68-45ec-a1b4-d8dd5851c2e3
Improve Travis CI build time
language: csharp sudo: required dist: trusty env: global: - CLI_VERSION=1.0.0-preview2-003121 - DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true - NUGET_XMLDOC_MODE=skip branches: only: - master addons: apt: packages: - gettext - libcurl4-openssl-dev - libicu-dev - libssl-dev - libunwind8 mono: - latest install: - export DOTNET_INSTALL_DIR="$PWD/.dotnetcli" - curl -sSL https://raw.githubusercontent.com/dotnet/cli/rel/1.0.0/scripts/obtain/dotnet-install.sh | bash /dev/stdin --version "$CLI_VERSION" --install-dir "$DOTNET_INSTALL_DIR" - export PATH="$DOTNET_INSTALL_DIR:$PATH" script: - ./build.sh
sudo: required dist: trusty env: global: - CLI_VERSION=1.0.0-preview2-003121 - DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true - NUGET_XMLDOC_MODE=skip branches: only: - master addons: apt: packages: - gettext - libcurl4-openssl-dev - libicu-dev - libssl-dev - libunwind8 install: - export DOTNET_INSTALL_DIR="$PWD/.dotnetcli" - curl -sSL https://raw.githubusercontent.com/dotnet/cli/rel/1.0.0/scripts/obtain/dotnet-install.sh | bash /dev/stdin --version "$CLI_VERSION" --install-dir "$DOTNET_INSTALL_DIR" - export PATH="$DOTNET_INSTALL_DIR:$PATH" script: - ./build.sh
Switch to RCMP webhook for Travis
language: ruby rvm: - 1.9.3 script: rake test short_urls: true notifications: irc: channels: - "irc.freenode.org#sicuro" - "irc.tenthbit.net#programming" template: # A shortened %{build_url} being between %{commit} and %{author} would be awesome. - "\x02%{repository_url}\x02: %{branch} %{commit} \x02%{author}\x02 %{message}" - "Build details: %{build_url}" # on_success: change # default: always # on_failure: change # default: always
language: ruby rvm: - 1.9.3 script: rake test notifications: webhooks: - http://rcmp.programble.co.cc/irc.tenthbit.net/programming - http://rcmp.programble.co.cc/irc.freenode.net/sicuro email: on_success: change # default: change on_failure: change # default: always
Support for code coverage analysis
language: java jdk: - oraclejdk8 after_success: - bash <(curl -s https://codecov.io/bash)
language: java jdk: - oraclejdk8 before_script: - pip install --user codecov after_success: - codecov
Update to attempt to fix build issues
language: node_js node_js: - "6" - "5" - "4" - "0.12" compiler: gcc sudo: false env: - CXX=g++-4.8 addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-4.8 os: - linux - osx before_install: - npm install mocha -g - npm install tsd -g - npm install typescript -g - node --version - npm --version - gcc --version script: - npm install - tsd install - tsc - npm test cache: directories: - $HOME/.node-gyp - $HOME/.npm - node_modules
language: node_js node_js: - "6" - "5" - "4" env: - CXX=clang addons: apt: sources: - ubuntu-toolchain-r-test - llvm-toolchain-precise-3.6 packages: - g++-4.8 - llvm-3.6 - libstdc++-4.9-dev - llvm-3.6-dev - clang-3.6 compiler: clang sudo: false os: - linux - os: osx osx_image: xcode7.2 before_install: - node --version - npm --version - gcc --version script: - npm install cache: directories: - $HOME/.node-gyp - $HOME/.npm - node_modules
Remove 1.9.2 and add 2.2
language: ruby rvm: - 1.9.2 - 1.9.3 before_install: - "gem install bundler" script: bundle exec rake branches: only: - master
language: ruby rvm: - 1.9.3 - 2.2 before_install: - "gem install bundler" script: bundle exec rake branches: only: - master
Fix Travis for CLJS tests
language: java jdk: - oraclejdk8 install: - wget -O boot https://github.com/boot-clj/boot-bin/releases/download/latest/boot.sh - chmod 755 boot - export PATH="$PWD:$PATH" - export BOOT_HOME=.travis.boot before_script: phantomjs -v script: boot testc after_script: boot show --deps
language: clojure jdk: - oraclejdk8 install: - wget -O boot https://github.com/boot-clj/boot-bin/releases/download/latest/boot.sh - chmod 755 boot - export PATH="$PWD:$PWD/node_modules/karma/bin:$PATH" - export BOOT_HOME=.travis.boot - npm install karma before_script: boot show --deps script: boot testc
Build Cartfile dependencies before tests
language: objective-c osx_image: xcode8.1 notifications: email: on_success: never on_failure: always env: global: - LC_CTYPE=en_US.UTF-8 - LANG=en_US.UTF-8 - PROJECT=Napi.xcodeproj - SCHEME=Napi script: - xcodebuild -version - xcodebuild -showsdks - xcodebuild -project "$PROJECT" -scheme "$SCHEME" ONLY_ACTIVE_ARCH=NO -sdk macosx10.12 build | xcpretty - xcodebuild -project "$PROJECT" -scheme "$SCHEME" ONLY_ACTIVE_ARCH=NO -sdk macosx10.12 test | xcpretty
language: objective-c osx_image: xcode8.1 notifications: email: on_success: never on_failure: always env: global: - LC_CTYPE=en_US.UTF-8 - LANG=en_US.UTF-8 - PROJECT=Napi.xcodeproj - SCHEME=Napi script: - brew update - brew outdated carthage || brew upgrade carthage - carthage version - carthage build --no-skip-current --platform mac - xcodebuild -version - xcodebuild -showsdks - xcodebuild -project "$PROJECT" -scheme "$SCHEME" ONLY_ACTIVE_ARCH=NO -sdk macosx10.12 build | xcpretty - xcodebuild -project "$PROJECT" -scheme "$SCHEME" ONLY_ACTIVE_ARCH=NO -sdk macosx10.12 test | xcpretty
Install nvm on OS X
language: node_js node_js: - "0.12" - 4 - 5 - iojs-v2 - iojs-v3 os: - linux - osx after_success: - npm run coveralls
language: node_js node_js: - "0.12" - 4 - 5 - iojs-v2 - iojs-v3 os: - linux - osx before_install: - "[ $TRAVIS_OS_NAME=osx ] && brew update" - "[ $TRAVIS_OS_NAME=osx ] && (brew outdated nvm || brew upgrade nvm)" after_success: - npm run coveralls
Revert HHVM version change on TravisCI
language: php php: - 5.4 - 5.5 - 5.6 - 7 - hhvm-nightly matrix: allow_failures: - php: hhvm before_install: - export PATH=$HOME/.local/bin:$PATH - pip install autobahntestsuite --user `whoami` - pip list autobahntestsuite --user `whoami` before_script: - composer install - sh tests/ab/run_ab_tests.sh script: - phpunit
language: php php: - 5.4 - 5.5 - 5.6 - 7 - hhvm matrix: allow_failures: - php: hhvm before_install: - export PATH=$HOME/.local/bin:$PATH - pip install autobahntestsuite --user `whoami` - pip list autobahntestsuite --user `whoami` before_script: - composer install - sh tests/ab/run_ab_tests.sh script: - phpunit
Update to latest versions of rubies
language: ruby rvm: - 2.4.0-rc1 - 2.3.1 - 2.2.5 - 2.1.9 - jruby-9.0.5.0 addons: apt: packages: - libkrb5-3 code_climate: repo_token: dfadc6527760b0ebbd6d0e2deaa7f72549f3879e8670b05373fac667925a2dda cache: - bundler - apt script: bundle exec bacon -a after_success: - bundle exec codeclimate-test-reporter
language: ruby rvm: - 2.4.0-rc1 - 2.3.3 - 2.2.6 - 2.1.9 - jruby-9.1.5.0 addons: apt: packages: - libkrb5-3 code_climate: repo_token: dfadc6527760b0ebbd6d0e2deaa7f72549f3879e8670b05373fac667925a2dda cache: - bundler - apt script: bundle exec bacon -a after_success: - bundle exec codeclimate-test-reporter
Revert "Test with java 8-14"
os: linux dist: bionic language: java install: true jdk: - openjdk8 - openjdk9 - openjdk10 - openjdk11 - openjdk12 - openjdk13 - openjdk14 before_cache: - rm -rf ~/.m2/repository/uk/co/automatictester/*lightning*/ cache: directories: - $HOME/.m2 jobs: include: - stage: Test script: ./mvnw -pl lightning-core clean verify name: "Core" env: CACHE=core - script: - ./mvnw -pl lightning-core clean install - ./mvnw -pl jmeter-lightning-maven-plugin clean verify name: "Maven" env: CACHE=maven - script: - ./mvnw -pl lightning-core clean install - ./mvnw -pl lightning-standalone clean compile assembly:single test name: "Standalone" env: CACHE=standalone
os: linux dist: bionic language: java install: true jdk: openjdk8 before_cache: - rm -rf ~/.m2/repository/uk/co/automatictester/*lightning*/ cache: directories: - $HOME/.m2 jobs: include: - stage: Test script: ./mvnw -pl lightning-core clean verify name: "Core" env: CACHE=core - script: - ./mvnw -pl lightning-core clean install - ./mvnw -pl jmeter-lightning-maven-plugin clean verify name: "Maven" env: CACHE=maven - script: - ./mvnw -pl lightning-core clean install - ./mvnw -pl lightning-standalone clean compile assembly:single test name: "Standalone" env: CACHE=standalone
Build tools 24.0.2 requires java 8
language: generic env: global: - ADB_INSTALL_TIMEOUT=8 # minutes (2 minutes by default) matrix: include: - os: linux language: android env: ANDROID_TARGET=android-15 - os: linux language: android env: ANDROID_TARGET=android-16 - os: linux language: android env: ANDROID_TARGET=android-19 - os: osx osx_image: xcode7.3 language: objective-c env: CI_IOS_TESTS=true J2OBJC_VERSION=1.1 J2OBJC_HOME=/tmp/j2objc-$J2OBJC_VERSION android: components: - tools - build-tools-24.0.2 - android-15 - sys-img-armeabi-v7a-android-15 - android-16 - sys-img-armeabi-v7a-android-16 - android-19 - sys-img-armeabi-v7a-android-19 - android-24 - sys-img-armeabi-v7a-android-24 - extra-android-m2repository before_script: - ./scripts/before-test.sh script: - ./scripts/run-tests.sh
language: generic env: global: - ADB_INSTALL_TIMEOUT=8 # minutes (2 minutes by default) matrix: include: - os: linux language: android jdk: oraclejdk8 env: ANDROID_TARGET=android-15 - os: linux language: android jdk: oraclejdk8 env: ANDROID_TARGET=android-16 - os: linux language: android jdk: oraclejdk8 env: ANDROID_TARGET=android-19 - os: osx osx_image: xcode7.3 language: objective-c env: CI_IOS_TESTS=true J2OBJC_VERSION=1.1 J2OBJC_HOME=/tmp/j2objc-$J2OBJC_VERSION android: components: - tools - build-tools-24.0.2 - android-15 - sys-img-armeabi-v7a-android-15 - android-16 - sys-img-armeabi-v7a-android-16 - android-19 - sys-img-armeabi-v7a-android-19 - android-24 - sys-img-armeabi-v7a-android-24 - extra-android-m2repository before_script: - ./scripts/before-test.sh script: - ./scripts/run-tests.sh
Add conda-forge as default channel
sudo: false language: generic os: - osx - linux osx_image: xcode6.4 git: depth: 200 env: global: - BINSTAR_USER: menpo matrix: - PYTHON_VERSION: 2.7 - PYTHON_VERSION: 3.5 - PYTHON_VERSION: 3.6 install: - wget https://raw.githubusercontent.com/menpo/condaci/v0.4.x/condaci.py -O condaci.py - python condaci.py setup script: - ~/miniconda/bin/python condaci.py build ./conda notifications: slack: rooms: - menpo:19gyWImMkOfCj0iDAgTbDlDA on_success: :change on_failure: :change email: false
sudo: false language: generic os: - osx - linux osx_image: xcode6.4 git: depth: 200 env: global: - BINSTAR_USER: menpo matrix: - PYTHON_VERSION: 2.7 - PYTHON_VERSION: 3.5 - PYTHON_VERSION: 3.6 install: - wget https://raw.githubusercontent.com/menpo/condaci/v0.4.x/condaci.py -O condaci.py - python condaci.py setup --channels conda-forge script: - ~/miniconda/bin/python condaci.py build ./conda notifications: slack: rooms: - menpo:19gyWImMkOfCj0iDAgTbDlDA on_success: :change on_failure: :change email: false
Add PHP 7.2 to the test grid
language: php php: - 5.4 - 5.5 - 5.6 - 7.0 - 7.1 - hhvm - nightly # run build against nightly but allow them to fail matrix: fast_finish: true allow_failures: - php: hhvm - php: nightly # faster builds on new travis setup not using sudo sudo: false services: - memcached # cache vendor dirs cache: directories: - lib/vendor - $HOME/.composer/cache install: - composer self-update before_script: - composer install script: - vendor/bin/phpunit -c phpunit.xml
language: php php: - 5.4 - 5.5 - 5.6 - 7.0 - 7.1 - 7.2 - hhvm - nightly # run build against nightly but allow them to fail matrix: fast_finish: true allow_failures: - php: hhvm - php: nightly # faster builds on new travis setup not using sudo sudo: false services: - memcached # cache vendor dirs cache: directories: - lib/vendor - $HOME/.composer/cache install: - composer self-update before_script: - composer install script: - vendor/bin/phpunit -c phpunit.xml
Revert "Disabling XDebug for Composer"
language: php php: - 5.4 - 5.5 - 5.6 - 7.0 - hhvm - nightly matrix: allow_failures: - php: nightly env: - SYMFONY_VERSION=2.0.* - SYMFONY_VERSION=2.1.* - SYMFONY_VERSION=2.2.* - SYMFONY_VERSION=2.3.* - SYMFONY_VERSION=2.4.* - SYMFONY_VERSION=2.5.* - SYMFONY_VERSION=2.6.* - SYMFONY_VERSION=2.7.* - SYMFONY_VERSION=2.8.* - SYMFONY_VERSION=3.0.* - SYMFONY_VERSION=dev-master before_script: - phpenv config-rm xdebug.ini - composer self-update - composer require symfony/framework-bundle:${SYMFONY_VERSION} - composer require symfony/symfony:${SYMFONY_VERSION} - composer require sensio/framework-extra-bundle:${SYMFONY_VERSION} - composer install --prefer-source - phpenv config-add xdebug.ini sudo: false
language: php php: - 5.4 - 5.5 - 5.6 - 7.0 - hhvm - nightly matrix: allow_failures: - php: nightly env: - SYMFONY_VERSION=2.0.* - SYMFONY_VERSION=2.1.* - SYMFONY_VERSION=2.2.* - SYMFONY_VERSION=2.3.* - SYMFONY_VERSION=2.4.* - SYMFONY_VERSION=2.5.* - SYMFONY_VERSION=2.6.* - SYMFONY_VERSION=2.7.* - SYMFONY_VERSION=2.8.* - SYMFONY_VERSION=3.0.* - SYMFONY_VERSION=dev-master before_script: - composer require symfony/framework-bundle:${SYMFONY_VERSION} - composer require symfony/symfony:${SYMFONY_VERSION} - composer require sensio/framework-extra-bundle:${SYMFONY_VERSION} before_script: - composer self-update - composer install --prefer-source sudo: false
Move to Xcode7 on Travis
os: - osx - linux language: c++ before_script: scripts/travis/before-script.sh script: scripts/travis/script.sh osx_image: xcode6.4
os: - osx - linux language: c++ before_script: scripts/travis/before-script.sh script: scripts/travis/script.sh osx_image: xcode7
Fix missing npm package issue
language: node_js node_js: - "0.11" - "0.10" before_script: - "npm i -g jasmine-node"
language: node_js node_js: - "0.11" - "0.10" before_script: - "npm i -g jasmine-node" - "npm link npm"
Add Go 1.4 to Travis build versions
language: go go: - 1.3 - tip install: - go get golang.org/x/crypto/ssh/terminal script: go test -v ./...
language: go go: - 1.3 - 1.4 - tip install: - go get golang.org/x/crypto/ssh/terminal script: go test -v ./...
Enable Docker builds for Travis.
language: c script: bash -ex .travis-ci.sh os: - linux - osx env: - OCAML_VERSION=4.00.1 - OCAML_VERSION=4.01.0 - OCAML_VERSION=4.02.3 COVERAGE=true matrix: exclude: - os: osx env: OCAML_VERSION=4.00.1
language: c sudo: required services: - docker script: bash -ex .travis-ci.sh os: - linux - osx env: - OCAML_VERSION=4.00.1 - OCAML_VERSION=4.01.0 - OCAML_VERSION=4.02.3 COVERAGE=true matrix: exclude: - os: osx env: OCAML_VERSION=4.00.1
Remove Python 2.6 from config
language: python sudo: false notifications: email: false env: global: - TZ=UTC python: - 2.6 - 2.7 - pypy - 3.3 - 3.4 - 3.5 install: - pip install -r requirements.txt - pip install -r tests/requirements.txt script: nosetests --rednose --with-cov after_success: codecov
language: python sudo: false notifications: email: false env: global: - TZ=UTC python: - 2.7 - pypy - 3.3 - 3.4 - 3.5 install: - pip install -r requirements.txt - pip install -r tests/requirements.txt script: nosetests --rednose --with-cov after_success: codecov
Build and test on JDK 8, 11 and 14
language: java jdk: - openjdk8 - openjdk11 - openjdk12 - openjdk13 script: - ./gradlew ${TEST_SUITE} branches: - master - 1.x
language: java jdk: - openjdk8 - openjdk11 - openjdk14 script: - ./gradlew ${TEST_SUITE} branches: - master - 1.x
Add test environment PHP 7.0.x
language: php php: - 5.6 install: - composer install - cp config/wiki.default.php config/wiki.php script: - ./vendor/bin/phpunit --coverage-clover build/logs/clover.xml --whitelist src after_success: - travis_retry ./vendor/bin/coveralls -v
language: php php: - 7.0 - 5.6 install: - composer install - cp config/wiki.default.php config/wiki.php script: - ./vendor/bin/phpunit --coverage-clover build/logs/clover.xml --whitelist src after_success: - travis_retry ./vendor/bin/coveralls -v
Move python-coveralls installation to after_success.
language: python python: - 2.6 - 2.7 install: - pip install -r requirements.txt --use-mirrors - pip install nose --use-mirrors - pip install coverage --use-mirrors - pip install python-coveralls --use-mirrors script: - nosetests -c scrapy.cfg after_success: - coveralls
language: python python: - 2.6 - 2.7 install: - pip install -r requirements.txt --use-mirrors - pip install nose --use-mirrors - pip install coverage --use-mirrors script: - nosetests -c scrapy.cfg after_success: - pip install python-coveralls --use-mirrors - coveralls
Revert "what the hell on TravisCI Python2.7 ... :-1:"
language: python cache: pip python: # - "2.7" - "3.3" - "3.4" - "3.5" - "3.5-dev" - "nightly" before_install: - pip install pytest-cov - pip install coveralls install: - pip install -r requirements.txt script: - py.test --cov=dcard tests/ after_success: - coveralls
language: python cache: pip python: - "2.7" - "3.3" - "3.4" - "3.5" - "3.5-dev" - "nightly" before_install: - pip install pytest-cov - pip install coveralls install: - pip install -r requirements.txt script: - py.test --cov=dcard tests/ after_success: - coveralls
Update Travis to test PHP 7.0, 7.1 and 7.2
sudo: false language: php php: - 5.5 - 5.6 - 7.0 before_install: - composer self-update install: - travis_retry composer install --no-interaction --ignore-platform-reqs --prefer-source - composer info -i script: - vendor/bin/phpcs - vendor/bin/phpunit
sudo: false language: php php: - 7.0 - 7.1 - 7.2 - nightly matrix: allow_failures: - php: nightly before_install: - composer self-update install: - travis_retry composer install --no-interaction --ignore-platform-reqs --prefer-source - composer info -i script: - vendor/bin/phpcs - vendor/bin/phpunit
Add new scheme to tests
language: objective-c osx_image: xcode7.1 xcode_sdk: iphonesimulator xcode_project: PSOperations.xcodeproj xcode_scheme: PSOperations
language: objective-c osx_image: xcode7.1 xcode_sdk: iphonesimulator xcode_project: PSOperations.xcodeproj xcode_scheme: - PSOperations - PSOperationsAppForTests
Test different rubies for ruby-boolean
language: ruby rvm: 2.2.1 # uncomment this line if your project needs to run something other than `rake`: script: bundle exec rspec spec
language: ruby rvm: - 1.9.3 - 2.0.0 - 2.2.1 - 2.3.0 # uncomment this line if your project needs to run something other than `rake`: script: bundle exec rspec spec
Allow Travis pypy CI job failure due to an old pypy version
# Config file for automatic testing at travis-ci.org # This file will be regenerated if you run travis_pypi_setup.py language: python python: 3.5 env: - TOXENV=py35 - TOXENV=py34 - TOXENV=py33 - TOXENV=py27 - TOXENV=py26 - TOXENV=pypy # command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors install: pip install -U tox # command to run tests, e.g. python setup.py test script: tox -e ${TOXENV} # After you create the Github repo and add it to Travis, run the # travis_pypi_setup.py script to finish PyPI deployment setup deploy: provider: pypi distributions: sdist bdist_wheel user: Temelio password: secure: PLEASE_REPLACE_ME on: tags: true repo: Temelio/ovh_api_tasks condition: $TOXENV == py27
# Config file for automatic testing at travis-ci.org # This file will be regenerated if you run travis_pypi_setup.py language: python python: 3.5 env: - TOXENV=py35 - TOXENV=py34 - TOXENV=py33 - TOXENV=py27 - TOXENV=py26 - TOXENV=pypy # command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors install: pip install -U tox # command to run tests, e.g. python setup.py test script: tox -e ${TOXENV} # After you create the Github repo and add it to Travis, run the # travis_pypi_setup.py script to finish PyPI deployment setup deploy: provider: pypi distributions: sdist bdist_wheel user: Temelio password: secure: PLEASE_REPLACE_ME on: tags: true repo: Temelio/ovh_api_tasks condition: $TOXENV == py27 # Travis pypy version is too old to work with cryptography > 1.0 # Allow failure time to Travis update matrix: allow_failures: - env: "TOXENV=pypy"
Remove PHP 7.1 from allowed failures
language: php php: - 5.6 - 7.0 - 7.1 - hhvm install: composer install script: ./vendor/bin/phpunit --coverage-clover clover.xml after_success: sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then ./vendor/bin/coveralls -v; fi' matrix: fast_finish: true allow_failures: - php: hhvm - php: 7.1
language: php php: - 5.6 - 7.0 - 7.1 - hhvm install: composer install script: ./vendor/bin/phpunit --coverage-clover clover.xml after_success: sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then ./vendor/bin/coveralls -v; fi' matrix: fast_finish: true allow_failures: - php: hhvm
Remove pypy3 and python 3.2 build targets.
language: python python: - "pypy" - "pypy3" - "2.7" - "3.2" - "3.3" - "3.4" install: - "pip install -r requirements.txt" script: - py.test --tb=native seep - python -m doctest README.rst
language: python python: - "pypy" - "2.7" - "3.3" - "3.4" install: - "pip install -r requirements.txt" script: - py.test --tb=native seep - python -m doctest README.rst
Deploy via Heroku instead of Travis
language: node_js node_js: - '4.4' - '5' - '6' notifications: email: false deploy: provider: heroku api_key: secure: o5WrXofdHiZYizk3Y0tyhYDxV1VHkr0bvGtsbSGvtKskPOYK1NpYksVlVhlvS24QYxnCg7FgElStd4qQlIoVBNE558SXjN/2/xJeEaCyGe9eViGRxBZNFfO2QlzbECRLVPQiiH9cJ5pxrpWDo40hrkDKEF1eQ+YHWZUUcjDOAFZfhCxb3S/kJ5RU3v1cZFIjJw6NU4nyVABnPbvevcbmUrg7OFzwhIwFr3xCBzdlhJ4f1L8AMJtjPBzNiZTIwqPSXPVCBBMADppyLVskiHE8TdC1IZ3y3LtyVSlbLAR0219JXj8T7bpK39Zf35Wm+vj0nVzxJWy0jB+/ycOqTK5QAYskUb4YQlyLBsHF2OrUGwAWvR7xYk2Xj/vTISQdG3oEo45LdK30jJCy0hicnIFVBblK9U77NzUf+j6wbmhkSoQqxUB27hVJY6wMOnO+lP3p2DaysKKI5ncPnGU8iYSVLv+sxwZ44ySp3aejvTQzdh8CJFmcUE74E6rTrh38wjbgvwp9DOB3LHHkl1iZgH/yhKnORqGVVWIPLKW3NamQcsfDRQnfyIPuaofYoUPidLUVYWAU8LAwS0lTJaOm2rKdSrgouZhj/J+VcLG/B4t+YovtDFy5t+HHrIX2g/c9ACpJiV0lFbyYAT5iQa9LuXFaK14CdTn0b6wLNLYU7W1HAhI=
language: node_js node_js: - '4.4' - '5' - '6' notifications: email: false
Allow integration testes to be accounted on coverage results
language: php php: - 7.1 - 7.2 services: mongodb before_install: - if [[ $TRAVIS_PHP_VERSION != 7.2 ]]; then pecl install mongodb; fi - echo "extension = mongodb.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini before_script: - composer install --no-interaction script: - vendor/bin/phpcs - phpunit --testsuite unit -c phpunit.xml.dist - phpunit --testsuite integration after_script: - php vendor/bin/coveralls -v
language: php php: - 7.1 - 7.2 services: mongodb before_install: - if [[ $TRAVIS_PHP_VERSION != 7.2 ]]; then pecl install mongodb; fi - echo "extension = mongodb.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini before_script: - composer install --no-interaction script: - vendor/bin/phpcs - vendor/bin/phpunit -c phpunit.xml.dist after_script: - php vendor/bin/coveralls -v
Test against ember-source 2.2.x on Travis CI
language: ruby sudo: false rvm: - 2.0.0 - 2.1 - 2.2 env: matrix: - EMBER_VERSION="~> 1.8.0" - EMBER_VERSION="~> 1.9.0" - EMBER_VERSION="~> 1.10.0" - EMBER_VERSION="~> 1.11.0" - EMBER_VERSION="~> 1.12.0" - EMBER_VERSION="~> 1.13.0" - EMBER_VERSION="~> 2.0.0" - EMBER_VERSION="~> 2.1.0"
language: ruby sudo: false rvm: - 2.0.0 - 2.1 - 2.2 env: matrix: - EMBER_VERSION="~> 1.8.0" - EMBER_VERSION="~> 1.9.0" - EMBER_VERSION="~> 1.10.0" - EMBER_VERSION="~> 1.11.0" - EMBER_VERSION="~> 1.12.0" - EMBER_VERSION="~> 1.13.0" - EMBER_VERSION="~> 2.0.0" - EMBER_VERSION="~> 2.1.0" - EMBER_VERSION="~> 2.2.0"
FIX update CI requirement from framework to recipe-cms
language: php env: global: - COMPOSER_ROOT_VERSION="4.0.x-dev" matrix: include: - php: 5.6 env: DB=MYSQL PHPCS_TEST=1 PHPUNIT_TEST=1 - php: 7.0 env: DB=MYSQL PHPUNIT_TEST=1 - php: 7.1 env: DB=MYSQL PHPUNIT_COVERAGE_TEST=1 before_script: - phpenv rehash - phpenv config-rm xdebug.ini - composer install --prefer-dist - composer require --prefer-dist --no-update silverstripe/framework:4.0.x-dev - composer update script: - if [[ $PHPUNIT_TEST ]]; then vendor/bin/phpunit tests/; fi - if [[ $PHPUNIT_COVERAGE_TEST ]]; then phpdbg -qrr vendor/bin/phpunit --coverage-clover=coverage.xml; fi - if [[ $PHPCS_TEST ]]; then vendor/bin/phpcs --standard=vendor/silverstripe/framework/phpcs.xml.dist src/ tests/ ; fi after_success: - if [[ $PHPUNIT_COVERAGE_TEST ]]; then bash <(curl -s https://codecov.io/bash) -f coverage.xml; fi
language: php env: global: - COMPOSER_ROOT_VERSION="4.0.x-dev" matrix: include: - php: 5.6 env: DB=MYSQL PHPCS_TEST=1 PHPUNIT_TEST=1 - php: 7.0 env: DB=MYSQL PHPUNIT_TEST=1 - php: 7.1 env: DB=MYSQL PHPUNIT_COVERAGE_TEST=1 before_script: - phpenv rehash - phpenv config-rm xdebug.ini - composer install --prefer-dist - composer require --prefer-dist --no-update silverstripe/recipe-cms:1.0.x-dev - composer update script: - if [[ $PHPUNIT_TEST ]]; then vendor/bin/phpunit tests/; fi - if [[ $PHPUNIT_COVERAGE_TEST ]]; then phpdbg -qrr vendor/bin/phpunit --coverage-clover=coverage.xml; fi - if [[ $PHPCS_TEST ]]; then vendor/bin/phpcs --standard=vendor/silverstripe/framework/phpcs.xml.dist src/ tests/ ; fi after_success: - if [[ $PHPUNIT_COVERAGE_TEST ]]; then bash <(curl -s https://codecov.io/bash) -f coverage.xml; fi
Add Telegram Harmonbot to CircleCI
# Python CircleCI 2.0 configuration file # Check https://circleci.com/docs/2.0/language-python/ for more details version: 2 jobs: build: docker: - image: circleci/python:3.7.0 # Specify service dependencies here if necessary # CircleCI maintains a library of pre-built images # documented at https://circleci.com/docs/2.0/circleci-images/ # - image: circleci/postgres:9.4 working_directory: ~/repo steps: - checkout # Download and cache dependencies - restore_cache: keys: - v1-dependencies-{{ checksum "requirements.txt" }} # Fallback to using the latest cache if no exact match is found - v1-dependencies- - run: name: Install dependencies command: | python3 -m venv venv . venv/bin/activate pip install -r requirements.txt # Run tests! - run: name: Run tests command: | . venv/bin/activate cd Discord && python Harmonbot.py - save_cache: paths: - ./venv - /home/circleci/.imageio key: v1-dependencies-{{ checksum "requirements.txt" }} - store_artifacts: path: test-reports destination: test-reports
# Python CircleCI 2.0 configuration file # Check https://circleci.com/docs/2.0/language-python/ for more details version: 2 jobs: build: docker: - image: circleci/python:3.7.0 # Specify service dependencies here if necessary # CircleCI maintains a library of pre-built images # documented at https://circleci.com/docs/2.0/circleci-images/ # - image: circleci/postgres:9.4 working_directory: ~/repo steps: - checkout # Download and cache dependencies - restore_cache: keys: - v1-dependencies-{{ checksum "requirements.txt" }} # Fallback to using the latest cache if no exact match is found - v1-dependencies- - run: name: Install dependencies command: | python3 -m venv venv . venv/bin/activate pip install -r requirements.txt # Run tests! - run: name: Run tests command: | . venv/bin/activate cd Discord && python Harmonbot.py cd ../Telegram && python Telegram_Harmonbot.py - save_cache: paths: - ./venv - /home/circleci/.imageio key: v1-dependencies-{{ checksum "requirements.txt" }} - store_artifacts: path: test-reports destination: test-reports
Use Docker Compose 1.4.0 in Travis.
sudo: required services: - docker before_install: # Install Docker Compose. - curl -L https://github.com/docker/compose/releases/download/VERSION_NUM/docker-compose-`uname -s`-`uname -m` > docker-compose - chmod +x docker-compose - sudo mv docker-compose /usr/local/bin # Create an .env file from the example. - cp .env.example .env script: - docker-compose build - docker-compose up -d
sudo: required services: - docker before_install: # Install Docker Compose. - curl -L https://github.com/docker/compose/releases/download/1.4.0/docker-compose-`uname -s`-`uname -m` > docker-compose - chmod +x docker-compose - sudo mv docker-compose /usr/local/bin # Create an .env file from the example. - cp .env.example .env script: - docker-compose build - docker-compose up -d
Use default dist for Python 3.7 build
language: python cache: pip sudo: false python: - 2.7 - 3.4 - 3.5 - 3.6 - pypy - pypy3 env: - FLAVOUR=signxml matrix: include: - python: 2.7 env: FLAVOUR=legacy - python: 2.7 env: FLAVOUR=legacy-defusedxml - python: 2.7 env: FLAVOUR=lxml - python: 2.7 env: FLAVOUR=lxml-defusedxml - python: 3.6 env: FLAVOUR=legacy - python: 3.6 env: FLAVOUR=legacy-defusedxml - python: 3.6 env: FLAVOUR=lxml - python: 3.6 env: FLAVOUR=lxml-defusedxml - python: 3.7 dist: xenial env: FLAVOUR=signxml - python: 3.6 env: TOXENV=flake8 - python: 3.6 env: TOXENV=docs install: pip install tox script: tox -e "${TOXENV:-$(echo py${TRAVIS_PYTHON_VERSION}-${FLAVOUR} | tr -d . | sed -e 's/pypypy/pypy/')}"
language: python cache: pip sudo: false python: - 2.7 - 3.4 - 3.5 - 3.6 - 3.7 - pypy - pypy3 env: - FLAVOUR=signxml matrix: include: - python: 2.7 env: FLAVOUR=legacy - python: 2.7 env: FLAVOUR=legacy-defusedxml - python: 2.7 env: FLAVOUR=lxml - python: 2.7 env: FLAVOUR=lxml-defusedxml - python: 3.6 env: FLAVOUR=legacy - python: 3.6 env: FLAVOUR=legacy-defusedxml - python: 3.6 env: FLAVOUR=lxml - python: 3.6 env: FLAVOUR=lxml-defusedxml - python: 3.6 env: TOXENV=flake8 - python: 3.6 env: TOXENV=docs install: pip install tox script: tox -e "${TOXENV:-$(echo py${TRAVIS_PYTHON_VERSION}-${FLAVOUR} | tr -d . | sed -e 's/pypypy/pypy/')}"
Drop deprecated pip --use-mirrors parameter
language: python python: - "2.7" system_site_packages: true sudo: false install: - pip install flake8 --use-mirrors #- pip install pylint --use-mirrors #- pip install nose --use-mirrors script: - flake8 --show-source --show-pep8 . #- pylint lib datapath volume #- nosetests
language: python python: - "2.7" system_site_packages: true sudo: false install: - pip install flake8 #- pip install pylint --use-mirrors #- pip install nose --use-mirrors script: - flake8 --show-source --show-pep8 . #- pylint lib datapath volume #- nosetests
Remove not compatibile version of NodeJS
--- language: node_js sudo: false node_js: - "4.1" - "4.0" - "0.12" - "0.11" - "0.10" - "0.8" - "0.6" - "iojs"
--- language: node_js sudo: false node_js: - "4.1" - "4.0" - "0.12" - "0.11" - "0.10" - "iojs"
Remove ruby 1.8 targets from CI
language: ruby before_install: - gem install bundler rvm: - 1.8.7 - 1.9.3 - ruby-head - ree - jruby-18mode - jruby-19mode - rbx-18mode - rbx-19mode gemfile: - Gemfile notifications: email: - engineers@identified.com
language: ruby before_install: - gem install bundler rvm: - 1.9.3 - ruby-head - jruby-19mode - rbx-19mode gemfile: - Gemfile notifications: email: - engineers@identified.com
Use the pre-release builds of chefdk
# Use Travis's cointainer based infrastructure sudo: false addons: apt: sources: - chef-stable-precise packages: - chefdk # Don't `bundle install` install: echo "skip bundle install" branches: only: - master # Ensure we make ChefDK's Ruby the default before_script: - eval "$(/opt/chefdk/bin/chef shell-init bash)" # We have to install chef-sugar for ChefSpec - /opt/chefdk/embedded/bin/chef gem install chef-sugar script: - /opt/chefdk/embedded/bin/chef --version - /opt/chefdk/embedded/bin/rubocop --version - /opt/chefdk/embedded/bin/rubocop - /opt/chefdk/embedded/bin/foodcritic --version - /opt/chefdk/embedded/bin/foodcritic . --exclude spec - /opt/chefdk/embedded/bin/rspec spec
# Use Travis's cointainer based infrastructure sudo: false addons: apt: sources: - chef-current-precise packages: - chefdk # Don't `bundle install` install: echo "skip bundle install" branches: only: - master # Ensure we make ChefDK's Ruby the default before_script: - eval "$(/opt/chefdk/bin/chef shell-init bash)" # We have to install chef-sugar for ChefSpec - /opt/chefdk/embedded/bin/chef gem install chef-sugar script: - /opt/chefdk/embedded/bin/chef --version - /opt/chefdk/embedded/bin/rubocop --version - /opt/chefdk/embedded/bin/rubocop - /opt/chefdk/embedded/bin/foodcritic --version - /opt/chefdk/embedded/bin/foodcritic . --exclude spec - /opt/chefdk/embedded/bin/rspec spec
Drop old Rubies testing on CI
language: ruby cache: bundler sudo: false rvm: - 1.9.3 - 2.0 - 2.1 - 2.2 - 2.3.0 - jruby-19mode - jruby-9.1.2.0 env: - DB=sqlite SEQUEL='~> 3.38' - DB=sqlite SEQUEL='~> 4.0' - DB=mysql SEQUEL='~> 3.38' - DB=mysql SEQUEL='~> 4.0' - DB=postgres SEQUEL='~> 3.38' - DB=postgres SEQUEL='~> 4.0' gemfile: ci/Gemfile.ci matrix: exclude: - rvm: jruby-19mode env: DB=sqlite SEQUEL='~> 3.38' - rvm: jruby-19mode env: DB=sqlite SEQUEL='~> 4.0' - rvm: jruby-19mode env: DB=mysql SEQUEL='~> 3.38' - rvm: jruby-19mode env: DB=mysql SEQUEL='~> 4.0' - rvm: jruby-19mode env: DB=postgres SEQUEL='~> 3.38' - rvm: jruby-9.1.2.0 env: DB=sqlite SEQUEL='~> 3.38' - rvm: jruby-9.1.2.0 env: DB=sqlite SEQUEL='~> 4.0' - rvm: jruby-9.1.2.0 env: DB=mysql SEQUEL='~> 3.38' - rvm: jruby-9.1.2.0 env: DB=mysql SEQUEL='~> 4.0'
language: ruby cache: bundler sudo: false rvm: - 2.2.7 - 2.3.4 - 2.4.1 - jruby-9.1.5.0 env: - DB=sqlite SEQUEL='~> 3.38' - DB=sqlite SEQUEL='~> 4.0' - DB=mysql SEQUEL='~> 3.38' - DB=mysql SEQUEL='~> 4.0' - DB=postgres SEQUEL='~> 3.38' - DB=postgres SEQUEL='~> 4.0' gemfile: ci/Gemfile.ci matrix: exclude: - rvm: jruby-9.1.5.0 env: DB=sqlite SEQUEL='~> 3.38' - rvm: jruby-9.1.5.0 env: DB=sqlite SEQUEL='~> 4.0' - rvm: jruby-9.1.5.0 env: DB=mysql SEQUEL='~> 3.38' - rvm: jruby-9.1.5.0 env: DB=mysql SEQUEL='~> 4.0'
Add stable Python 3.9 to the testing matrix
language: python sudo: false dist: bionic python: - "3.6" - "3.6-dev" - "3.7" - "3.7-dev" - "3.8" - "3.8-dev" - "3.9-dev" - "nightly" env: - DJANGO="Django~=2.2" - DJANGO="Django~=3.0" install: - pip install --quiet --upgrade -r requirements.txt - pip install --quiet --upgrade setuptools wheel - pip install --quiet --upgrade "$DJANGO" script: - python -m pip install --upgrade pip setuptools wheel - inv test - inv build - inv test-install - inv coverage after_success: - coveralls notifications: email: false
language: python sudo: false dist: bionic python: - "3.6" - "3.6-dev" - "3.7" - "3.7-dev" - "3.8" - "3.8-dev" - "3.9" - "3.9-dev" - "nightly" env: - DJANGO="Django~=2.2" - DJANGO="Django~=3.0" install: - pip install --quiet --upgrade -r requirements.txt - pip install --quiet --upgrade setuptools wheel - pip install --quiet --upgrade "$DJANGO" script: - python -m pip install --upgrade pip setuptools wheel - inv test - inv build - inv test-install - inv coverage after_success: - coveralls notifications: email: false
Use Travis Trusty container to support modern Node.js native modules.
language: node_js node_js: - 4 - 6 - 7 script: npm run ci notifications: email: false
dist: trusty sudo: false language: node_js node_js: - 4 - 6 - 7 script: npm run ci notifications: email: false
Remove database setup from Travis file
language: python python: - "2.6" - "2.7" - "3.4" matrix: allow_failures: - python: "2.7" - python: "3.4" fast_finish: true # Route build to container-based infrastructure sudo: false # Cache the dependencies installed by pip cache: pip # Install defaults to "pip install -r requirements.txt" # Commands that prepare things for the test before_script: - mysql -e 'CREATE DATABASE apel_unittest;' - export PYTHONPATH=$PYTHONPATH:`pwd -P` - cd test # Command to run tests script: coverage run --source=apel,bin -m unittest2 discover after_success: coveralls
language: python python: - "2.6" - "2.7" - "3.4" matrix: allow_failures: - python: "2.7" - python: "3.4" fast_finish: true # Route build to container-based infrastructure sudo: false # Cache the dependencies installed by pip cache: pip # Install defaults to "pip install -r requirements.txt" # Commands that prepare things for the test before_script: - export PYTHONPATH=$PYTHONPATH:`pwd -P` - cd test # Command to run tests script: coverage run --source=apel,bin -m unittest2 discover after_success: coveralls
Allow 5.4 and 5.5 builds to pass
language: php sudo: false php: - 5.4 - 5.5 - 5.6 - 7.0 - hhvm - hhvm-nightly matrix: fast_finish: true allow_failures: - php: hhvm-nightly - php: 5.4 - php: 5.5 cache: directories: - $HOME/.composer/cache install: - travis_retry composer self-update && composer --version - travis_retry composer global require "fxp/composer-asset-plugin:~1.0.0" - export PATH="$HOME/.composer/vendor/bin:$PATH" - travis_retry composer install --prefer-dist --no-interaction --no-dev script: - phpunit --verbose $PHPUNIT_FLAGS after_script: - | if [ $TRAVIS_PHP_VERSION = '5.6' ]; then travis_retry wget https://scrutinizer-ci.com/ocular.phar php ocular.phar code-coverage:upload --format=php-clover coverage.clover fi
language: php sudo: false php: - 5.4 - 5.5 - 5.6 - 7.0 - hhvm - hhvm-nightly matrix: fast_finish: true allow_failures: - php: hhvm-nightly cache: directories: - $HOME/.composer/cache install: - travis_retry composer self-update && composer --version - travis_retry composer global require "fxp/composer-asset-plugin:~1.0.0" - export PATH="$HOME/.composer/vendor/bin:$PATH" - travis_retry composer install --prefer-dist --no-interaction --no-dev script: - phpunit --verbose $PHPUNIT_FLAGS after_script: - | if [ $TRAVIS_PHP_VERSION = '5.6' ]; then travis_retry wget https://scrutinizer-ci.com/ocular.phar php ocular.phar code-coverage:upload --format=php-clover coverage.clover fi
Stop testing on Python 3 for now
language: python python: - "2.7" - "3.3" - "3.4" install: - pip install nose - pip install httpretty - pip install . --use-mirrors script: nosetests -v branches: only: - dev
language: python python: - "2.7" # - "3.3" # - "3.4" install: - pip install nose - pip install httpretty - pip install . --use-mirrors script: nosetests -v branches: only: - dev
Add 2.0.0 to Travis conf
rvm: - 1.9.3 - jruby-19mode - rbx-19mode
rvm: - 2.0.0 - 1.9.3 - jruby-19mode - rbx-19mode
Build also using PHP 7.1
language: php # php compatibility php: - 5.6 - 7.0 - hhvm matrix: allow_failures: - php: hhvm # This triggers builds to run on the new TravisCI infrastructure. # See: http://docs.travis-ci.com/user/workers/container-based-infrastructure/ sudo: false before_script: - travis_retry composer self-update - travis_retry composer install --no-interaction script: - mkdir -p build/tests/ - vendor/bin/parallel-lint src/ scripts/ tests/ - vendor/bin/phpcs -sp src/ scripts/ tests/ - vendor/bin/phpunit --coverage-text --coverage-clover=build/tests/coverage.xml after_script: - if [[ $TRAVIS_PHP_VERSION == '5.6' ]]; then php vendor/bin/ocular code-coverage:upload --format=php-clover build/tests/coverage.xml; fi notifications: email: false
language: php # php compatibility php: - 5.6 - 7.0 - 7.1 - hhvm matrix: allow_failures: - php: hhvm # This triggers builds to run on the new TravisCI infrastructure. # See: http://docs.travis-ci.com/user/workers/container-based-infrastructure/ sudo: false before_script: - travis_retry composer self-update - travis_retry composer install --no-interaction script: - mkdir -p build/tests/ - vendor/bin/parallel-lint src/ scripts/ tests/ - vendor/bin/phpcs -sp src/ scripts/ tests/ - vendor/bin/phpunit --coverage-text --coverage-clover=build/tests/coverage.xml after_script: - if [[ $TRAVIS_PHP_VERSION == '5.6' ]]; then php vendor/bin/ocular code-coverage:upload --format=php-clover build/tests/coverage.xml; fi notifications: email: false
Move phones and emails from relationships to attributes
api: entities: Oro\Bundle\UserBundle\Entity\Email: ~ Oro\Bundle\UserBundle\Entity\Group: ~ Oro\Bundle\UserBundle\Entity\Role: delete_handler: oro_user.role.handler.delete Oro\Bundle\UserBundle\Entity\User: delete_handler: oro_user.handler.delete actions: delete: exclude: false # set manually because this entity is marked as a dictionary delete_list: exclude: false # set manually because this entity is marked as a dictionary create: exclude: false # set manually because this entity is marked as a dictionary update: exclude: false # set manually because this entity is marked as a dictionary
api: entities: Oro\Bundle\UserBundle\Entity\Group: ~ Oro\Bundle\UserBundle\Entity\Role: delete_handler: oro_user.role.handler.delete Oro\Bundle\UserBundle\Entity\User: delete_handler: oro_user.handler.delete fields: emails: data_type: array exclusion_policy: all fields: email: ~ actions: delete: exclude: false # set manually because this entity is marked as a dictionary delete_list: exclude: false # set manually because this entity is marked as a dictionary create: exclude: false # set manually because this entity is marked as a dictionary update: exclude: false # set manually because this entity is marked as a dictionary Oro\Bundle\UserBundle\Entity\Email: # this entity does not have own Data API resource actions: false
Add rubinius to the build matrix
language: ruby script: "bundle exec rake spec" rvm: - 1.9.2 - 1.9.3 - rbx-19mode - jruby-19mode notifications: email: chris@w3style.co.uk
language: ruby script: "bundle exec rake spec" rvm: - 1.9.2 - 1.9.3 - rbx-19mode notifications: email: chris@w3style.co.uk
Remove old Squeak versions for Travis builds
language: smalltalk sudo: false # Select compatible Smalltalk image(s) smalltalk: - Squeak-5.0 - Squeak-4.6 - Squeak-4.5
language: smalltalk sudo: false # Select compatible Smalltalk image(s) smalltalk: - Squeak-5.0
Remove -force to show status
language: node_js node_js: - "0.10" before_install: npm install -g grunt-cli install: npm install script: grunt test --verbose --force
language: node_js node_js: - "0.10" before_install: npm install -g grunt-cli install: npm install script: grunt test --verbose
Add normal Gemfile to build matrix
language: ruby rvm: - "1.9.3" - "2.0.0" - "2.1.2" notifications: email: on_failure: change gemfiles: - gemfiles/Gemfile.sinatra-1.0
language: ruby rvm: - "1.9.3" - "2.0.0" - "2.1.2" notifications: email: on_failure: change gemfiles: - Gemfile - gemfiles/Gemfile.sinatra-1.0
Update JRuby 9.2 version under test
language: ruby matrix: include: - name: "RuboCop lint on pre-installed Ruby version" rvm: 2.5.3 # Pre-installed Ruby version before_install: - gem install bundler script: bundle exec rake rubocop # ONLY lint once, first - rvm: 2.4.9 before_script: - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter - chmod +x ./cc-test-reporter - ./cc-test-reporter before-build after_script: - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT - rvm: 2.5.7 - rvm: 2.6.5 - rvm: 2.7.0-preview3 - name: "jruby-9.1.8.0 on OpenJDK 8" rvm: jruby-9.1.8.0 env: - JRUBY_OPTS="--debug" jdk: openjdk8 - rvm: jruby-9.2.8.0 env: - JRUBY_OPTS="--debug"
language: ruby matrix: include: - name: "RuboCop lint on pre-installed Ruby version" rvm: 2.5.3 # Pre-installed Ruby version before_install: - gem install bundler script: bundle exec rake rubocop # ONLY lint once, first - rvm: 2.4.9 before_script: - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter - chmod +x ./cc-test-reporter - ./cc-test-reporter before-build after_script: - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT - rvm: 2.5.7 - rvm: 2.6.5 - rvm: 2.7.0-preview3 - name: "jruby-9.1.8.0 on OpenJDK 8" rvm: jruby-9.1.8.0 env: - JRUBY_OPTS="--debug" jdk: openjdk8 - rvm: jruby-9.2.11.0 env: - JRUBY_OPTS="--debug"
Add Coverity Scan back to the pipeline, it's back up (Travis CI).
language: c compiler: - clang - gcc before_install: - sudo apt-get -qq update - sudo apt-get install -y libgd2-noxpm-dev - git clone https://github.com/ansilove/libansilove.git - cd libansilove && cmake . && make - sudo make install - cd - script: cmake . && make
language: c compiler: - clang - gcc before_install: - sudo apt-get -qq update - sudo apt-get install -y libgd2-noxpm-dev - git clone https://github.com/ansilove/libansilove.git - cd libansilove && cmake . && make - sudo make install - cd - - echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca- script: cmake . && make env: global: - secure: "Ahg+dD6BwZqYTl+xTbNqBBr6Qoh7jQswegP77gxfk09UbcLSTpTQcvCLzJtumCajWXTe5HD3lD1xBghxRPNwD/+JRg25AzUeowPvBQkosDZyxMZyeQQEGPVMoD9UbnGaWhxIxYaQ7bxVCu2CJ2PcibsJ3kselnqSicEnw99TXjU=" addons: coverity_scan: project: name: "ansilove/ansilove" version: 3.0.6 description: "ANSi / ASCII art to PNG converter in C" notification_email: fred@statdns.com build_command_prepend: cmake . build_command: make -j 4 branch_pattern: master
Add new node versions to Travis CI.
language: "node_js" node_js: - "5" - "4" - "3" # io.js - "2" # io.js - "1" # io.js - "0.12" before_install: - "npm install istanbul@0.4.x -g" - "npm install coveralls@2.x.x -g" script: - "make test-cov" after_success: - "make report-cov" sudo: false
language: "node_js" node_js: - "8" - "7" - "6" - "5" - "4" - "3" # io.js - "2" # io.js - "1" # io.js - "0.12" before_install: - "npm install istanbul@0.4.x -g" - "npm install coveralls@2.x.x -g" script: - "make test-cov" after_success: - "make report-cov" sudo: false
Build Prometheus config reloader in Travis
sudo: required language: go go: - 1.9 services: - docker jobs: include: - stage: Check generated contents are up to date and code is formatted. script: ./scripts/check-make-generate.sh - stage: Ensure vendor folder matches vendor.json script: ./scripts/govendor-ensure.sh - stage: Unit tests script: make test - stage: E2e tests script: travis_wait 30 ./scripts/travis-e2e.sh
sudo: required language: go go: - 1.9 services: - docker jobs: include: - stage: Check generated contents are up to date and code is formatted. script: ./scripts/check-make-generate.sh - stage: Build Prometheus config reloader script: cd contrib/prometheus-config-reloader && make build - stage: Ensure vendor folder matches vendor.json script: ./scripts/govendor-ensure.sh - stage: Unit tests script: make test - stage: E2e tests script: travis_wait 30 ./scripts/travis-e2e.sh
Remove Python 2.6 from list of supported languages.
language: python python: - "2.6" - "2.7" install: - "pip install -r requirements.txt" - "pip install -r test_requirements.txt" script: make tests
language: python python: - "2.7" install: - "pip install -r requirements.txt" - "pip install -r test_requirements.txt" script: make tests
Add test support for PHP 7.3
language: php php: - 5.6 - 7.0 - 7.1 - 7.2 env: matrix: - COMPOSER_FLAGS="--prefer-lowest" - COMPOSER_FLAGS="" sudo: false cache: directories: - $HOME/.composer/cache before_script: - travis_retry composer self-update - travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-dist -vvv script: - composer test - composer lint
language: php php: - 5.6 - 7.0 - 7.1 - 7.2 - 7.3 env: matrix: - COMPOSER_FLAGS="--prefer-lowest" - COMPOSER_FLAGS="" sudo: false cache: directories: - $HOME/.composer/cache before_script: - travis_retry composer self-update - travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-dist -vvv script: - composer test - composer lint
Optimize Travis-CI builds by caching Gradle/Maven artifacts
language: android android: components: - build-tools 21.1.2 - android-21 branches: except: - gh-pages
language: android android: components: - build-tools 21.1.2 - android-21 branches: except: - gh-pages sudo: false cache: directories: - $HOME/.m2 - $HOME/.gradle
Use Node 10 in CI (colony tests require it)
dist: trusty sudo: required group: beta language: node_js node_js: - "8" env: - TEST=integration - TEST=colony - TEST=geth matrix: fast_finish: true allow_failures: - env: TEST=colony - env: TEST=geth script: - npm run ci
dist: trusty sudo: required group: beta language: node_js node_js: - "10" env: - TEST=integration - TEST=colony - TEST=geth matrix: fast_finish: true allow_failures: - env: TEST=colony - env: TEST=geth script: - npm run ci
Check pip version, install gi after remove
language: python sudo: true python: #- "2.7" - "3.5" before_install: - sudo apt-get update - sudo apt-get install -qq python2.7 python-pip install: - pip freeze - pip3 freeze - ./test/setup_test.sh - pip3 uninstall -y gi script: # so to help eventual debug: knowing what exact versions are in use can be rather useful. # - pip freeze # - pip3 freeze # Code static analysis # - pep8 --max-line-length=100 --exclude='*.pyc, *.cfg, *.log' --ignore='E402' alignak_app/* #- pylint --rcfile=.pylintrc alignak_webui/ # No pep257 currently (Code doc compliance) # - pep257 --select=D300 alignak_webui # Code dynamic analysis # - cd test # - coverage erase - nosetests -xv --nologcapture --with-coverage --cover-package=alignak_app test/test_application.py # - coverage combine # - coverage report -m # - cd .. # specific call to launch coverage data into coveralls.io # after_success: # to get coverage data with relative paths and not absolute we have to # execute coveralls from the base directory of the project, # so we need to move the .coverage file here : # mv test/.coverage . && coveralls --rcfile=test/.coveragerc -v #mv test/.coverage . && coveralls -v
language: python sudo: true python: #- "2.7" - "3.5" before_install: - sudo apt-get update - sudo apt-get install -qq python2.7 python-pip install: - pip --version - pip3 --version - ./test/setup_test.sh - pip3 uninstall -y gi - pip install gi script: # so to help eventual debug: knowing what exact versions are in use can be rather useful. - pip freeze - pip3 freeze # Code static analysis # - pep8 --max-line-length=100 --exclude='*.pyc, *.cfg, *.log' --ignore='E402' alignak_app/* #- pylint --rcfile=.pylintrc alignak_webui/ # No pep257 currently (Code doc compliance) # - pep257 --select=D300 alignak_webui # Code dynamic analysis # - cd test # - coverage erase - nosetests -xv --nologcapture --with-coverage --cover-package=alignak_app test/test_application.py # - coverage combine # - coverage report -m # - cd .. # specific call to launch coverage data into coveralls.io # after_success: # to get coverage data with relative paths and not absolute we have to # execute coveralls from the base directory of the project, # so we need to move the .coverage file here : # mv test/.coverage . && coveralls --rcfile=test/.coveragerc -v #mv test/.coverage . && coveralls -v
Test on `stable` instead of `iojs`
sudo: false language: node_js node_js: - 'iojs' - '0.12' - '0.10'
sudo: false language: node_js node_js: - 'stable' - '0.12' - '0.10'
Test other profile install methods
osx_image: xcode7 language: objective-c xcode_workspace: PopMenuExample/PopMenuExample.xcworkspace xcode_schemes: PopMenuExample profile: PopMenuExample/Podfile before_install: - gem install cocoapods - export LANG=en_US.UTF-8 - brew update - if brew outdated | grep -qx xctool; then brew upgrade xctool; fi - cd PopMenuExample - pod install
osx_image: xcode7 language: objective-c xcode_workspace: PopMenuExample/PopMenuExample.xcworkspace xcode_schemes: PopMenuExample profile: PopMenuExample/Podfile #before_install: #- gem install cocoapods #- export LANG=en_US.UTF-8 #- brew update #- if brew outdated | grep -qx xctool; then brew upgrade xctool; fi #- cd PopMenuExample #- pod install
Add Docker Hub build to Travis config
sudo: false language: python python: - "3.5" install: - pip install -U pip - pip install -e . - pip install pytest pytest-cov pytest-mock coveralls script: - pytest -v --cov=src/cardinal tests after_success: coveralls
sudo: false language: python python: - "3.5" install: - pip install -U pip - pip install -e . - pip install pytest pytest-cov pytest-mock coveralls script: - pytest -v --cov=src/cardinal tests after_success: - coveralls - curl --data "source_type=Branch" --data "source_name=${TRAVIS_BRANCH}" -X POST "https://registry.hub.docker.com/u/fallenwarrior2k/cardinal.py/trigger/${DOCKERHUB_TOKEN}"
Remove deprecated `--use-mirrors` from Travis config
sudo: false language: python python: - "2.7" - "3.4" env: - DJANGO=1.8.7 DJANGO_SETTINGS_MODULE='settings_sqllite' - DJANGO=1.8.7 DJANGO_SETTINGS_MODULE='settings_postgres' - DJANGO=1.8.7 DJANGO_SETTINGS_MODULE='settings_mysql' - DJANGO=1.9 DJANGO_SETTINGS_MODULE='settings_sqllite' - DJANGO=1.9 DJANGO_SETTINGS_MODULE='settings_postgres' - DJANGO=1.9 DJANGO_SETTINGS_MODULE='settings_mysql' - DJANGO=1.10.1 DJANGO_SETTINGS_MODULE='settings_sqllite' - DJANGO=1.10.1 DJANGO_SETTINGS_MODULE='settings_postgres' - DJANGO=1.10.1 DJANGO_SETTINGS_MODULE='settings_mysql' addons: - postgresql: "9.3" install: - pip install -q Django==$DJANGO --use-mirrors - pip install coveralls - pip install -r test_requirements.pip script: - coverage run --source=django_cron setup.py test after_success: - coveralls before_script: - mysql -e 'create database travis_test;' - psql -c 'create database travis_test;' -U postgres - flake8 . --config=flake8
sudo: false language: python python: - "2.7" - "3.4" env: - DJANGO=1.8.7 DJANGO_SETTINGS_MODULE='settings_sqllite' - DJANGO=1.8.7 DJANGO_SETTINGS_MODULE='settings_postgres' - DJANGO=1.8.7 DJANGO_SETTINGS_MODULE='settings_mysql' - DJANGO=1.9 DJANGO_SETTINGS_MODULE='settings_sqllite' - DJANGO=1.9 DJANGO_SETTINGS_MODULE='settings_postgres' - DJANGO=1.9 DJANGO_SETTINGS_MODULE='settings_mysql' - DJANGO=1.10.1 DJANGO_SETTINGS_MODULE='settings_sqllite' - DJANGO=1.10.1 DJANGO_SETTINGS_MODULE='settings_postgres' - DJANGO=1.10.1 DJANGO_SETTINGS_MODULE='settings_mysql' addons: - postgresql: "9.3" install: - pip install -q Django==$DJANGO - pip install coveralls - pip install -r test_requirements.pip script: - coverage run --source=django_cron setup.py test after_success: - coveralls before_script: - mysql -e 'create database travis_test;' - psql -c 'create database travis_test;' -U postgres - flake8 . --config=flake8
Add basic support for codecov.io.
language: python python: - 2.6 - 2.7 install: - sudo apt-get -qq update - sudo apt-get install -y libtest-exception-perl libtest-output-perl libdevel-cover-perl acl script: - scons test
language: python python: - 2.6 - 2.7 install: - sudo apt-get -qq update - sudo apt-get install -y libtest-exception-perl libtest-output-perl libdevel-cover-perl acl - pip install codecov script: - scons test after_success: - codecov
Allow test failures against ember-canary
--- language: node_js node_js: - "0.12" sudo: false cache: directories: - node_modules env: - EMBER_TRY_SCENARIO=default - EMBER_TRY_SCENARIO=ember-1.10 - EMBER_TRY_SCENARIO=ember-1.11 - EMBER_TRY_SCENARIO=ember-1.12 - EMBER_TRY_SCENARIO=ember-release - EMBER_TRY_SCENARIO=ember-beta - EMBER_TRY_SCENARIO=ember-canary before_install: - export PATH=/usr/local/phantomjs-2.0.0/bin:$PATH - "npm config set spin false" - "npm install -g npm@^2" install: - npm install -g bower - npm install - bower install script: - ember try $EMBER_TRY_SCENARIO test
--- language: node_js node_js: - "0.12" sudo: false cache: directories: - node_modules env: - EMBER_TRY_SCENARIO=default - EMBER_TRY_SCENARIO=ember-1.10 - EMBER_TRY_SCENARIO=ember-1.11 - EMBER_TRY_SCENARIO=ember-1.12 - EMBER_TRY_SCENARIO=ember-release - EMBER_TRY_SCENARIO=ember-beta - EMBER_TRY_SCENARIO=ember-canary matrix: fast_finish: true allow_failures: - env: EMBER_TRY_SCENARIO=ember-canary before_install: - export PATH=/usr/local/phantomjs-2.0.0/bin:$PATH - "npm config set spin false" - "npm install -g npm@^2" install: - npm install -g bower - npm install - bower install script: - ember try $EMBER_TRY_SCENARIO test
Remove Node.js v5 from Travis CI build
sudo: required dist: trusty addons: apt: sources: - google-chrome packages: - google-chrome-stable language: node_js node_js: - 6 - 5 before_script: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start install: - npm install script: - npm run ci
sudo: required dist: trusty addons: apt: sources: - google-chrome packages: - google-chrome-stable language: node_js node_js: - 6 before_script: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start install: - npm install script: - npm run ci
Test on `stable` instead of `iojs`
sudo: false language: node_js node_js: - 'iojs' - '0.12' - '0.10'
sudo: false language: node_js node_js: - 'stable' - '0.12' - '0.10'
Install cmake and use ninja in CI
addons: apt: sources: - ubuntu-toolchain-r-test packages: - libnuma-dev - libclang-3.4-dev - ninja-build os: - linux - osx language: cpp cache: ccache compiler: - clang script: - mkdir build - cd build - cmake .. - cmake --build . - ctest -V
addons: apt: sources: - ubuntu-toolchain-r-test packages: - cmake - libclang-3.4-dev - libnuma-dev - ninja-build os: - linux - osx language: cpp cache: ccache compiler: - clang script: - mkdir build - cd build - cmake .. -G Ninja - cmake --build . - ctest -V
Add full path to mainDashs..
language: node_js node_js: - "node" before_deploy: # npm run predeploy builds to /build/ folder - npm run predeploy # GH-pages only understand to show /dist/ folder's webpages, so rename /build to /dist - mv ./build ./dist # Duplicate js & css files with dynamic names to static mainDash.js/css for ohpe2017-material's link-usage - cp ./dist/static/js/main.*.js mainDash.js - cp ./dist/static/css/main.*.css mainDash.css deploy: provider: pages skip-cleanup: true github_token: $GITHUB_TOKEN on: branch: master after_success: - './node_modules/.bin/nyc report --reporter=text-lcov | ./node_modules/.bin/coveralls'
language: node_js node_js: - "node" before_deploy: # npm run predeploy builds to /build/ folder - npm run predeploy # GH-pages only understand to show /dist/ folder's webpages, so rename /build to /dist - mv ./build ./dist # Duplicate js & css files with dynamic names to static mainDash.js/css for ohpe2017-material's link-usage - cp ./dist/static/js/main.*.js ./dist/static/js/mainDash.js - cp ./dist/static/css/main.*.css ./dist/static/css/mainDash.css deploy: provider: pages skip-cleanup: true github_token: $GITHUB_TOKEN on: branch: master after_success: - './node_modules/.bin/nyc report --reporter=text-lcov | ./node_modules/.bin/coveralls'
Make sure Ubuntu tests are properly named
name: Mac OSX on: [push] env: CTEST_OUTPUT_ON_FAILURE: 1 jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 with: submodules: recursive - name: configure run: | cmake -B build/debug -D CMAKE_BUILD_TYPE:STRING=Debug "-DSOL2_LUA_VERSION:STRING=5.4" -DSOL2_PLATFORM:STRING=x64 -DSOL2_CI=ON -DSOL2_BUILD_LUA:BOOL=ON -DBUILD_LUA_AS_DLL:BOOL=OFF -DSOL2_TESTS:BOOL=ON -DSOL2_EXAMPLES:BOOL=ON -DSOL2_TESTS_EXAMPLES:BOOL=ON cmake -B build/release -D CMAKE_BUILD_TYPE:STRING=Release "-DSOL2_LUA_VERSION:STRING=5.4" -DSOL2_PLATFORM:STRING=x64 -DSOL2_CI=ON -DSOL2_BUILD_LUA:BOOL=ON -DBUILD_LUA_AS_DLL:BOOL=OFF -DSOL2_TESTS:BOOL=ON -DSOL2_EXAMPLES:BOOL=ON -DSOL2_TESTS_EXAMPLES:BOOL=ON - name: build run: | cmake --build build/debug --config Debug cmake --build build/release --config Release - name: test run: | cd build/debug ctest --build-config Debug cd ../.. cd build/release ctest --build-config Release cd ../..
name: Ubuntu on: [push] env: CTEST_OUTPUT_ON_FAILURE: 1 jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 with: submodules: recursive - name: configure run: | cmake -B build/debug -D CMAKE_BUILD_TYPE:STRING=Debug "-DSOL2_LUA_VERSION:STRING=5.4" -DSOL2_PLATFORM:STRING=x64 -DSOL2_CI=ON -DSOL2_BUILD_LUA:BOOL=ON -DBUILD_LUA_AS_DLL:BOOL=OFF -DSOL2_TESTS:BOOL=ON -DSOL2_EXAMPLES:BOOL=ON -DSOL2_TESTS_EXAMPLES:BOOL=ON cmake -B build/release -D CMAKE_BUILD_TYPE:STRING=Release "-DSOL2_LUA_VERSION:STRING=5.4" -DSOL2_PLATFORM:STRING=x64 -DSOL2_CI=ON -DSOL2_BUILD_LUA:BOOL=ON -DBUILD_LUA_AS_DLL:BOOL=OFF -DSOL2_TESTS:BOOL=ON -DSOL2_EXAMPLES:BOOL=ON -DSOL2_TESTS_EXAMPLES:BOOL=ON - name: build run: | cmake --build build/debug --config Debug cmake --build build/release --config Release - name: test run: | cd build/debug ctest --build-config Debug cd ../.. cd build/release ctest --build-config Release cd ../..
Add gcc11 tests. Replace clang9 with clang12.
name: Unit Tests Ubuntu on: [ push ] jobs: build: name: ${{ matrix.compiler_name }} runs-on: ubuntu-latest strategy: matrix: compiler_name: [build_gcc9, build_gcc10, build_clang9, build_clang10, build_clang11] include: - compiler_name: build_gcc9 c_compiler: gcc-9 cxx_compiler: g++-9 - compiler_name: build_gcc10 c_compiler: gcc-10 cxx_compiler: g++-10 - compiler_name: build_clang9 c_compiler: clang-9 cxx_compiler: clang++-9 - compiler_name: build_clang10 c_compiler: clang-10 cxx_compiler: clang++-10 - compiler_name: build_clang11 c_compiler: clang-11 cxx_compiler: clang++-11 steps: - uses: actions/checkout@v2 - name: cmake run: cmake -DCMAKE_BUILD_TYPE=Debug -DENABLE_UNIT_TESTS=TRUE -G "CodeBlocks - Unix Makefiles" -DCMAKE_C_COMPILER=${{ matrix.c_compiler }} -DCMAKE_CXX_COMPILER=${{ matrix.cxx_compiler }} -S ./source - name: build run: cmake --build ./ - name: unit-tests run: ./unittests
name: Unit Tests Ubuntu on: [ push ] jobs: build: name: ${{ matrix.compiler_name }} runs-on: ubuntu-latest strategy: matrix: compiler_name: [build_gcc9, build_gcc10, build_gcc11, build_clang10, build_clang11, build_clang12] include: - compiler_name: build_gcc9 c_compiler: gcc-9 cxx_compiler: g++-9 - compiler_name: build_gcc10 c_compiler: gcc-10 cxx_compiler: g++-10 - compiler_name: build_gcc11 c_compiler: gcc-11 cxx_compiler: g++-11 - compiler_name: build_clang10 c_compiler: clang-10 cxx_compiler: clang++-10 - compiler_name: build_clang11 c_compiler: clang-11 cxx_compiler: clang++-11 - compiler_name: build_clang12 c_compiler: clang-12 cxx_compiler: clang++-12 steps: - uses: actions/checkout@v2 - name: cmake run: cmake -DCMAKE_BUILD_TYPE=Debug -DENABLE_UNIT_TESTS=TRUE -G "CodeBlocks - Unix Makefiles" -DCMAKE_C_COMPILER=${{ matrix.c_compiler }} -DCMAKE_CXX_COMPILER=${{ matrix.cxx_compiler }} -S ./source - name: build run: cmake --build ./ - name: unit-tests run: ./unittests
Test on 26.1 and Git snapshot
dist: trusty sudo: false addons: apt: packages: - texinfo env: - EVM_VERSION=24.4 - EVM_VERSION=24.5 - EVM_VERSION=25.1 - EVM_VERSION=25.2 - EVM_VERSION=25.3 install: - curl -fsSkL https://raw.github.com/rejeep/evm/master/go | bash - export PATH="$HOME/.evm/bin:$PATH" - evm config path /tmp - evm install emacs-$EVM_VERSION-travis - export PATH="/tmp/emacs-$EVM_VERSION-travis/bin:$PATH" script: - make travis
dist: trusty sudo: false addons: apt: packages: - texinfo env: - EVM_VERSION=24.4 - EVM_VERSION=24.5 - EVM_VERSION=25.1 - EVM_VERSION=25.2 - EVM_VERSION=25.3 - EVM_VERSION=26.1 - EVM_VERSION=git-snapshot matrix: allow_failures: - env: EMACS_VERSION=git-snapshot install: - curl -fsSkL https://raw.github.com/rejeep/evm/master/go | bash - export PATH="$HOME/.evm/bin:$PATH" - evm config path /tmp - evm install emacs-$EVM_VERSION-travis - export PATH="/tmp/emacs-$EVM_VERSION-travis/bin:$PATH" script: - make travis
Use the pre-release builds of chefdk
# Use Travis's cointainer based infrastructure sudo: false addons: apt: sources: - chef-stable-precise packages: - chefdk # Don't `bundle install` install: echo "skip bundle install" branches: only: - master # Ensure we make ChefDK's Ruby the default before_script: - eval "$(/opt/chefdk/bin/chef shell-init bash)" # We have to install chef-sugar for ChefSpec - /opt/chefdk/embedded/bin/chef gem install chef-sugar script: - /opt/chefdk/embedded/bin/chef --version - /opt/chefdk/embedded/bin/rubocop --version - /opt/chefdk/embedded/bin/rubocop - /opt/chefdk/embedded/bin/foodcritic --version - /opt/chefdk/embedded/bin/foodcritic . --exclude spec - /opt/chefdk/embedded/bin/rspec spec
# Use Travis's cointainer based infrastructure sudo: false addons: apt: sources: - chef-current-precise packages: - chefdk # Don't `bundle install` install: echo "skip bundle install" branches: only: - master # Ensure we make ChefDK's Ruby the default before_script: - eval "$(/opt/chefdk/bin/chef shell-init bash)" # We have to install chef-sugar for ChefSpec - /opt/chefdk/embedded/bin/chef gem install chef-sugar script: - /opt/chefdk/embedded/bin/chef --version - /opt/chefdk/embedded/bin/rubocop --version - /opt/chefdk/embedded/bin/rubocop - /opt/chefdk/embedded/bin/foodcritic --version - /opt/chefdk/embedded/bin/foodcritic . --exclude spec - /opt/chefdk/embedded/bin/rspec spec
Test node v0.12 and io.js
language: node_js node_js: - "0.11" - "0.10"
language: node_js node_js: - "iojs" - "0.12" - "0.11" - "0.10"
Change disabled to builds to allowed failures as exclude only disables exact matches.
language: ruby bundler_args: --without development services: - rabbitmq rvm: - 2.0.0 - 1.9.3 - jruby - rbx-19mode gemfile: - gemfiles/Gemfile.rails-3-2 - gemfiles/Gemfile.rails-4-0 env: - SUITE=msgr - SUITE=integration matrix: exclude: - gemfile: gemfiles/Gemfile.rails-3-2 env: SUITE=integration script: - bundle exec rake spec:$SUITE
language: ruby bundler_args: --without development services: - rabbitmq rvm: - 2.0.0 - 1.9.3 - jruby - rbx-19mode gemfile: - gemfiles/Gemfile.rails-3-2 - gemfiles/Gemfile.rails-4-0 env: - SUITE=msgr - SUITE=integration matrix: allow_failures: - gemfile: gemfiles/Gemfile.rails-3-2 env: SUITE=integration script: - bundle exec rake spec:$SUITE
Switch docker image to fdubuisson/knxd-rpi
sudo: required services: - docker language: bash script: # prepare qemu - docker run --rm --privileged multiarch/qemu-user-static:register --reset # build image - docker build -t fdubuisson/knxd-build-rpi . # test image - docker run fdubuisson/knxd-build-rpi knxd --version # push image - > if [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then docker login -u="$DOCKER_USER" -p="$DOCKER_PASS" TAG=$(docker run fdubuisson/knxd-build-rpi knxd --version | cut -d ' ' -f 2 | cut -d ':' -f 1) docker tag fdubuisson/knxd-build-rpi fdubuisson/knxd-build-rpi:$TAG docker push fdubuisson/knxd-build-rpi:$TAG docker push fdubuisson/knxd-build-rpi fi
sudo: required services: - docker language: bash script: # prepare qemu - docker run --rm --privileged multiarch/qemu-user-static:register --reset # build image - docker build -t fdubuisson/knxd-rpi . # test image - docker run fdubuisson/knxd-rpi knxd --version # push image - > if [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then docker login -u="$DOCKER_USER" -p="$DOCKER_PASS" TAG=$(docker run fdubuisson/knxd-rpi knxd --version | cut -d ' ' -f 2 | cut -d ':' -f 1) docker tag fdubuisson/knxd-rpi fdubuisson/knxd-rpi:$TAG docker push fdubuisson/knxd-rpi:$TAG docker push fdubuisson/knxd-rpi fi
Use latest stable node version
language: node_js node_js: - "5" before_install: - '[ "${TRAVIS_NODE_VERSION}" != "0.8" ] || npm install -g npm@1.4.28' - npm install -g npm@latest install: - npm install script: npm run test
language: node_js node_js: - "node" before_install: - '[ "${TRAVIS_NODE_VERSION}" != "0.8" ] || npm install -g npm@1.4.28' - npm install -g npm@latest install: - npm install script: npm run test
Add more JDK for CI
language: java jdk: - openjdk8 - oraclejdk8 - oraclejdk9 matrix: fast_finish: true allow_failures: - jdk: oraclejdk9
language: java jdk: - openjdk8 - oraclejdk8 - openjdk9 - oraclejdk9 - openjdk10 - openjdk11 - oraclejdk11 matrix: fast_finish: true allow_failures: - jdk: openjdk9 - jdk: oraclejdk9 - jdk: openjdk10 - jdk: openjdk11 - jdk: oraclejdk11
Enable JRuby debug in CI
--- os: linux dist: xenial language: ruby cache: bundler rvm: - jruby-9.2.13.0
--- os: linux dist: xenial language: ruby cache: bundler rvm: - jruby-9.2.13.0 env: global: - JRUBY_OPTS="--debug"
Use xvfb-run for invoking xvfb
language: node_js node_js: - "lts/*" sudo: false addons: chrome: stable firefox: latest-esr before_install: - npm install grunt-cli -g before_script: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start - sleep 3 # give xvfb some time to start script: - grunt ci branches: only: - develop
language: node_js node_js: - "lts/*" sudo: false addons: chrome: stable firefox: latest-esr before_install: - npm install grunt-cli -g script: - xvfb-run grunt ci branches: only: - develop
Enable tests under python 3.4
language: python env: - $TOX_ENV=py26 - $TOX_ENV=py27 - $TOX_ENV=py33 install: - pip install tox script: - tox -e $TOX_ENV
language: python env: - $TOX_ENV=py26 - $TOX_ENV=py27 - $TOX_ENV=py33 - $TOX_ENV=py34 install: - pip install tox script: - tox -e $TOX_ENV
Add Node versions for Travis
language: node_js sudo: false node_js: - "0.10" - "0.11" - "0.12" install: npm install
language: node_js sudo: false node_js: - "0.10" - "0.11" - "0.12" - "4" - "5" - "6" - "7" - "8" install: npm install
Add grunt-cli global install to TravisCI config
language: node_js node_js: - "0.10" before_script: - npm install -g bower - bower install
language: node_js node_js: - "0.10" before_script: - npm install -g bower - bower install - npm install -g grunt-cli
Remove rbx and jruby from Travis CI
language: ruby rvm: - 2.1.0 - 2.0.0 - rbx-2.2.5 - jruby-19mode - ruby-head - jruby-head jdk: - oraclejdk7 - openjdk7 matrix: exclude: - rvm: 2.1.0 jdk: openjdk7 - rvm: 2.0.0 jdk: openjdk7 - rvm: rbx-2.2.5 jdk: openjdk7 - rvm: ruby-head jdk: openjdk7
language: ruby rvm: - 2.1.0 - 2.0.0 - ruby-head - jruby-head jdk: - oraclejdk7
Fix the Linux build (take 2)
language: cpp compiler: - gcc - clang addons: apt: sources: - ubuntu-toolchain-r-test - llvm-toolchain-precise-3.6 packages: - gcc-5 - g++-5 - clang-3.6 before_install: - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 50 - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-5 50 - sudo update-alternatives --install /usr/bin/gcov gcov /usr/bin/gcov-5 50 - if [ ${CC} == "clang" ]; then export CC=/usr/bin/clang-3.6 CXX=/usr/bin/clang++-3.6; fi before_script: - sudo apt-get update -qq - sudo apt-get install libboost-dev - mkdir build - cd build - cmake .. script: make
language: cpp compiler: - gcc - clang addons: apt: sources: - ubuntu-toolchain-r-test - llvm-toolchain-precise-3.6 packages: - g++-5 - clang-3.6 before_install: - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-5 50 - sudo update-alternatives --install /usr/bin/gcov gcov /usr/bin/gcov-5 50 - if [ ${CC} == "clang" ]; then export CC=/usr/bin/clang-3.6 CXX=/usr/bin/clang++-3.6; fi before_script: - sudo apt-get update -qq - sudo apt-get install libboost-dev - mkdir build - cd build - cmake .. script: make
Update TravisCI to use Ubuntu 18.04 LTS ("bionic")
jdk: - openjdk11 sudo: false script: - mvn dependency:copy-dependencies - ant build-binnavi-fat-jar
dist: bionic jdk: - openjdk11 script: - mvn dependency:copy-dependencies - ant build-binnavi-fat-jar
FIX use correct API token for engine yard
language: node_js node_js: - '0.12' - '0.10' deploy: provider: engineyard api_key: secure: qQhLu+3MIn9T4vFGgleVkLBh1fcmLmtGaiV0tvxOkh+ULASDMP0A/FoyIvWmjHgA7B3EiYWRuqsSWTgACGCSQiQVAueNGYqVBJkzL7Mu9zu7AsfgqAJJDXyARzFGg1eMmujOoCyDKck08reIz22iqS+Qyt3Y6LyMGy919jT5SWo= on: repo: fhinkel/SimpleChatServer sudo: false
language: node_js node_js: - '0.12' - '0.10' deploy: provider: engineyard api_key: secure: EWQF/zBXDDOSlH2x6E3Puoyt31J/X4XFcWzZyMUPaGWQbXnJrbxZhtxBMPP5rpWvV1z8ZedjYO3dI7Q8ghCFPERU+CHQplLzdnYTWurTBr/TKDKbWV2Bh2302TklH02u6fA4u644zNj1yA01SqNg5BZSkXQsxMWAtCeGvot7Olc= on: repo: fhinkel/SimpleChatServer sudo: false
Support liberty-8.0 version for Fuel
# Plugin name name: elasticsearch_kibana # Human-readable name for your plugin title: The Elasticsearch-Kibana Server Plugin # Plugin version version: '0.9.0' # Description description: Deploy Elasticsearch server and the Kibana web interface (refer to the Elasticsearch-Kibana user guide for instructions). # Required fuel version fuel_version: ['8.0'] # Licences licenses: ['Apache License Version 2.0'] # Specify author or company name authors: ['Mirantis Inc.'] # A link to the plugin homepage homepage: 'https://github.com/openstack/fuel-plugin-elasticsearch-kibana' groups: ['monitoring'] is_hotpluggable: false # The plugin is compatible with releases in the list releases: - os: ubuntu version: 2015.1.0-8.0 mode: ['ha'] deployment_scripts_path: deployment_scripts/ repository_path: repositories/ubuntu # Version of plugin package package_version: '4.0.0'
# Plugin name name: elasticsearch_kibana # Human-readable name for your plugin title: The Elasticsearch-Kibana Server Plugin # Plugin version version: '0.9.0' # Description description: Deploy Elasticsearch server and the Kibana web interface (refer to the Elasticsearch-Kibana user guide for instructions). # Required fuel version fuel_version: ['8.0'] # Licences licenses: ['Apache License Version 2.0'] # Specify author or company name authors: ['Mirantis Inc.'] # A link to the plugin homepage homepage: 'https://github.com/openstack/fuel-plugin-elasticsearch-kibana' groups: ['monitoring'] is_hotpluggable: false # The plugin is compatible with releases in the list releases: - os: ubuntu version: 2015.1.0-8.0 mode: ['ha'] deployment_scripts_path: deployment_scripts/ repository_path: repositories/ubuntu - os: ubuntu version: liberty-8.0 mode: ['ha'] deployment_scripts_path: deployment_scripts/ repository_path: repositories/ubuntu # Version of plugin package package_version: '4.0.0'
Update memory again. Looking for the min memory needed.
--- declared-services: talent-manager-db: label: cloudantNoSQLDB plan: Shared personality-insights-talent-manager: label: personality_insights plan: standard applications: - disk_quota: 1024M host: recruitapp name: recruitapp path: ./webStarterApp.war instances: 1 buildpack: https://github.com/cloudfoundry/java-buildpack.git memory: 160M services: - talent-manager-db - personality-insights-talent-manager
--- declared-services: talent-manager-db: label: cloudantNoSQLDB plan: Shared personality-insights-talent-manager: label: personality_insights plan: standard applications: - disk_quota: 1024M host: recruitapp name: recruitapp path: ./webStarterApp.war instances: 1 buildpack: https://github.com/cloudfoundry/java-buildpack.git memory: 200M services: - talent-manager-db - personality-insights-talent-manager
Use NPM 3.x on Travis
language: node_js node_js: - "4" # ensure we're using the container-based infrastructure # see https://docs.travis-ci.com/user/workers/container-based-infrastructure/#Routing-your-build-to-container-based-infrastructure sudo: false # enable firefox before_script: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start script: - npm run-script ci # enable native dependencies for node 4.x # see https://docs.travis-ci.com/user/languages/javascript-with-nodejs#Node.js-v4-(or-io.js-v3)-compiler-requirements env: - CXX=g++-4.8 addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-4.8
language: node_js node_js: - "4" # ensure we're using the container-based infrastructure # see https://docs.travis-ci.com/user/workers/container-based-infrastructure/#Routing-your-build-to-container-based-infrastructure sudo: false # enable firefox before_script: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start - npm install npm@^3 script: - npm run-script ci # enable native dependencies for node 4.x # see https://docs.travis-ci.com/user/languages/javascript-with-nodejs#Node.js-v4-(or-io.js-v3)-compiler-requirements env: - CXX=g++-4.8 addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-4.8
Test against current maintained rubies
language: ruby rvm: - 2.0.0 - 2.1 - 2.2 - ruby-head script: bundle exec rake ci sudo: false cache: bundler
language: ruby rvm: - 2.2.7 - 2.3.4 - 2.4.1 script: bundle exec rake ci sudo: false cache: bundler