Instruction
stringlengths
14
778
input_code
stringlengths
0
4.24k
output_code
stringlengths
1
5.44k
Update from Hackage at 2016-12-26T14:46:15Z
homepage: '' changelog-type: '' hash: b9c6795211066686bbffb6a640834e79b9fd89dd5ab0f3ed7149b4317df7a650 test-bench-deps: {} maintainer: Yuriy Syrovetskiy <cblp@cblp.su> synopsis: Gitter.im API client changelog: '' basic-deps: exceptions: ! '>=0.8.0.2 && <0.9' bytestring: ! '>=0.10.6.0 && <0.11' lens-aeson: ! '>=1.0.0.4 && <1.1' base: ! '>=4.8.1.0 && <4.9' text: ! '>=1.2.1.3 && <1.3' wreq: ! '>=0.4.0.0 && <0.5' lens: ! '>=4.12.3 && <4.13' mtl: ! '>=2.2.1 && <2.3' aeson: ! '>=0.8.0.2 && <0.9' all-versions: - '0.0.0.1' author: '' latest: '0.0.0.1' description-type: haddock description: ! 'Gitter.im is a programmers-oriented GitHub-based web-chat. This package provides a (partial) implementation of its API.' license-name: GPL-3
homepage: '' changelog-type: '' hash: e627f2bb2b483a5ad2a37580e37ad1e1db832ba200cb8ed565440e5c6651074a test-bench-deps: {} maintainer: Yuriy Syrovetskiy <cblp@cblp.su> synopsis: Gitter.im API client changelog: '' basic-deps: exceptions: ! '>=0.8.3 && <0.9' bytestring: ! '>=0.10.8.1 && <0.11' lens-aeson: ! '>=1.0.0.5 && <1.1' base: ! '>=4.9.0.0 && <4.10' text: ! '>=1.2.2.1 && <1.3' wreq: ! '>=0.4.1.0 && <0.5' lens: ==4.14.* mtl: ! '>=2.2.1 && <2.3' aeson: ! '>=0.11.2.1 && <0.12' all-versions: - '0.0.0.1' - '0.1' author: '' latest: '0.1' description-type: haddock description: ! 'Gitter.im is a programmers-oriented GitHub-based web-chat. This package provides a (partial) implementation of its API.' license-name: GPL-3
Update CI build list to match RDF.rb
language: ruby bundler_args: --without debug script: "bundle exec rspec spec" env: - CI=true rvm: - 2.0 - 2.1 - 2.2.4 - 2.3.0 cache: bundler sudo: false
language: ruby bundler_args: --without debug script: "bundle exec rspec spec" env: - CI=true rvm: - 2.0 - 2.1 - 2.2.4 - 2.3.1 - jruby-9.0.4.0 - rbx cache: bundler sudo: false
Fix Travis build file and add latest go 1.7
language: go go: - 1.4 - 1.5 - 1.6 - tip
language: go go: - 1.4 - 1.5 - 1.6 - 1.7.x - master
Remove `sudo: false` declaration in Travis config
language: ruby rvm: - 2.1.10 - 2.2.6 - 2.3.3 - 2.4.0 cache: bundler sudo: false after_success: bundle exec codeclimate-test-reporter notifications: email: on_success: never on_failure: change addons: code_climate: repo_token: 23788f6358c812402884bb474c91ba819e6c096189b8ebe45d3b10b206ed4c67
language: ruby rvm: - 2.1.10 - 2.2.6 - 2.3.3 - 2.4.0 cache: bundler after_success: bundle exec codeclimate-test-reporter notifications: email: on_success: never on_failure: change addons: code_climate: repo_token: 23788f6358c812402884bb474c91ba819e6c096189b8ebe45d3b10b206ed4c67
Test on both Linux and OSX
language: node_js node_js: - '0.10' - '0.12' before_script: - npm install -g . - npm install -g jake - npm install -g titanium - mkdir ~/.titanium - cp ./cli_config.json ~/.titanium/config.json deploy: provider: npm email: npmjs@appcelerator.com api_key: secure: YDvhcMdwm6NX7vAQ7NwqC2m5YakaQhrPios6KfJNbYdd5aAZRyNkmYWRtgZN94zV2v/EmfodqESDdxHi89IoyHcdMX/bf80ECp8gyz/hs5SUeVpCJCeA0YZH5A+b9OabP0daS0iQ5p5/Ns/0ySoU0+J3zsvn5X27rADknsieM5A= on: tags: true repo: appcelerator/alloy
language: node_js node_js: - '0.10' - '0.12' os: - linux - osx before_script: - npm install -g . - npm install -g jake - npm install -g titanium - mkdir ~/.titanium - cp ./cli_config.json ~/.titanium/config.json deploy: provider: npm email: npmjs@appcelerator.com api_key: secure: YDvhcMdwm6NX7vAQ7NwqC2m5YakaQhrPios6KfJNbYdd5aAZRyNkmYWRtgZN94zV2v/EmfodqESDdxHi89IoyHcdMX/bf80ECp8gyz/hs5SUeVpCJCeA0YZH5A+b9OabP0daS0iQ5p5/Ns/0ySoU0+J3zsvn5X27rADknsieM5A= on: tags: true repo: appcelerator/alloy
Use latest pytest for tests.
language: python python: - 2.6 - 2.7 - 3.3 - 3.4 - 3.5 - pypy - pypy3 install: - pip install pytest script: - py.test -v test
language: python python: - 2.6 - 2.7 - 3.3 - 3.4 - 3.5 - pypy - pypy3 install: - pip install --upgrade pytest script: - py.test -v test
Switch CI to Xcode 9 and iPhone 8
language: objective-c osx_image: xcode8 env: global: - LC_CTYPE=en_US.UTF-8 - LANG=en_US.UTF-8 - PROJECT=OAuthSwift.xcodeproj - IOS_FRAMEWORK_SCHEME="OAuthSwift" - MACOS_FRAMEWORK_SCHEME="OAuthSwiftOSX" - IOS_SDK=iphonesimulator10.0 - MACOS_SDK=macosx10.12 matrix: - DESTINATION="OS=10.0,name=iPhone 6s" SCHEME="$IOS_FRAMEWORK_SCHEME" SDK="$IOS_SDK" - DESTINATION="arch=x86_64" SCHEME="$MACOS_FRAMEWORK_SCHEME" SDK="$MACOS_SDK" before_install: - gem install xcpretty --no-rdoc --no-ri --no-document --quiet script: - set -o pipefail - xcodebuild -version - xcodebuild -showsdks - xcodebuild -project "$PROJECT" -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Release ONLY_ACTIVE_ARCH=NO build | xcpretty; branches: only: - master
language: objective-c osx_image: xcode9 env: global: - LC_CTYPE=en_US.UTF-8 - LANG=en_US.UTF-8 - PROJECT=OAuthSwift.xcodeproj - IOS_FRAMEWORK_SCHEME="OAuthSwift" - MACOS_FRAMEWORK_SCHEME="OAuthSwiftOSX" - IOS_SDK=iphonesimulator10.0 - MACOS_SDK=macosx10.12 matrix: - DESTINATION="OS=10.0,name=iPhone 8" SCHEME="$IOS_FRAMEWORK_SCHEME" SDK="$IOS_SDK" - DESTINATION="arch=x86_64" SCHEME="$MACOS_FRAMEWORK_SCHEME" SDK="$MACOS_SDK" before_install: - gem install xcpretty --no-rdoc --no-ri --no-document --quiet script: - set -o pipefail - xcodebuild -version - xcodebuild -showsdks - xcodebuild -project "$PROJECT" -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Release ONLY_ACTIVE_ARCH=NO build | xcpretty; branches: only: - master
Disable style check (for now!)
language: python python: - 3.4 before_install: - make setup - make setup_ci script: - make style # - make test
language: python python: - 3.4 before_install: - make setup - make setup_ci script: # - make style - make test
Use apt addon to install build dependencies
language: node_js node_js: - "4" - "5" - "6" branches: except: - /^v[0-9]/ before_install: - sudo apt-get update -y -qq - sudo apt-get install -y libcairo2-dev libjpeg8-dev libpango1.0-dev libgif-dev build-essential g++ - npm install -g npm before_script: - npm install -g grunt-cli
language: node_js node_js: - "4" - "5" - "6" addons: apt: sources: - ubuntu-toolchain-r-test packages: - libcairo2-dev - libjpeg8-dev - libpango1.0-dev - libgif-dev - build-essential - g++-4.8 env: - CXX=g++-4.8 before_install: - npm install -g npm before_script: - npm install -g grunt-cli sudo: false
Allow HTML test to fail
language: python python: 2.7 sudo: false addons: apt: sources: - debian-sid packages: - shellcheck before_cache: - rm -f $HOME/.cache/pip/log/debug.log cache: edge: true directories: - $HOME/.build - $HOME/.cache/pip virtualenv: system_site_packages: true before_install: - sudo apt-get update - sudo apt-get install oracle-java8-installer - sudo update-java-alternatives -s java-8-oracle - pip install pip --upgrade env: matrix: - TOXENV=python - TOXENV=bash - TOXENV=html install: - pip install html5validator - pip install tox - pip install pep8 - pip install pylint - pip install bashate - pip install flake8 script: - tox
language: python python: 2.7 sudo: true addons: apt: sources: - debian-sid packages: - shellcheck before_cache: - rm -f $HOME/.cache/pip/log/debug.log cache: edge: true directories: - $HOME/.build - $HOME/.cache/pip virtualenv: system_site_packages: true before_install: - sudo apt-get update - sudo apt-get install oracle-java8-installer - sudo update-java-alternatives -s java-8-oracle - pip install pip --upgrade env: matrix: - TOXENV=python - TOXENV=bash - TOXENV=html matrix: allow_failures: - env: TOXENV=html install: - pip install html5validator - pip install tox - pip install pep8 - pip install pylint - pip install bashate - pip install flake8 script: - tox
Add Ruby 2.2.4 support to Travis matrix
language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.0
language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.0 - 2.2.4
Add Node 5.3 to Travis build
language: node_js node_js: - "iojs" - "4.0" - "4.1" - "4.2" - "5.0" - "5.1" - "5.2" script: - npm test - npm run lint
language: node_js node_js: - "iojs" - "4.0" - "4.1" - "4.2" - "5.0" - "5.1" - "5.2" - "5.3" script: - npm test - npm run lint
Test on latest `io.js` versions.
language: node_js node_js: - "iojs-v1.2" - "iojs-v1.1" - "iojs-v1.0" - "0.12" - "0.11" - "0.10" - "0.9" - "0.8" - "0.6" - "0.4" before_install: - '[ "${TRAVIS_NODE_VERSION}" == "0.6" ] || npm install -g npm@~1.4.6' matrix: fast_finish: true allow_failures: - node_js: "0.11" - node_js: "0.9" - node_js: "0.8" - node_js: "0.6" - node_js: "0.4" sudo: false
language: node_js node_js: - "iojs-v1.5" - "iojs-v1.4" - "iojs-v1.3" - "iojs-v1.2" - "iojs-v1.1" - "iojs-v1.0" - "0.12" - "0.11" - "0.10" - "0.9" - "0.8" - "0.6" - "0.4" before_install: - '[ "${TRAVIS_NODE_VERSION}" == "0.6" ] || npm install -g npm@~1.4.6' matrix: fast_finish: true allow_failures: - node_js: "iojs-v1.3" - node_js: "iojs-v1.2" - node_js: "iojs-v1.1" - node_js: "iojs-v1.0" - node_js: "0.11" - node_js: "0.9" - node_js: "0.8" - node_js: "0.6" - node_js: "0.4" sudo: false
Add option for bundle install to resolve gemfile and gemfile.lock difference
language: ruby script: - bundle exec rake assets:precompile - bundle exec rspec spec/features/ deploy: provider: heroku api_key: secure: JHaaojmt64klUFQElkjE0arLV02cumMH0oDinvdRnnbMGCQVNJwTq8jlv9o1n9DctUDk+BvYJCU6B0cZHvqDlWgkZOR8VvXlaO644AmGKkCLEW1/6FCjEAitLkiRZ04kkGgVpDq5spcPDmjhSznYlUdonVgXq55M3IV3Yt+9GmU= on: branch: master app: railsguides-jp notifications: webhooks: secure: HFPm4OWPWKheXFkRLZIlJckLEjZ8eW9a5o/dEZoeKQFjrK2kGrBDft4Xp6aKuqJmv4g/VoDDG5x9ZwTDNAxT4u4q2YbXikkmIFbLsc7cQz4hywXRbkWOTKZHaIdorLF0eZnxPybEVZCflH7LopyobwrBo/KC9SLnn7IUnalCwvg=
language: ruby install: bundle install --jobs=3 --retry=3 --no-deployment script: - bundle exec rake assets:precompile - bundle exec rspec spec/features/ deploy: provider: heroku api_key: secure: JHaaojmt64klUFQElkjE0arLV02cumMH0oDinvdRnnbMGCQVNJwTq8jlv9o1n9DctUDk+BvYJCU6B0cZHvqDlWgkZOR8VvXlaO644AmGKkCLEW1/6FCjEAitLkiRZ04kkGgVpDq5spcPDmjhSznYlUdonVgXq55M3IV3Yt+9GmU= on: branch: master app: railsguides-jp notifications: webhooks: secure: HFPm4OWPWKheXFkRLZIlJckLEjZ8eW9a5o/dEZoeKQFjrK2kGrBDft4Xp6aKuqJmv4g/VoDDG5x9ZwTDNAxT4u4q2YbXikkmIFbLsc7cQz4hywXRbkWOTKZHaIdorLF0eZnxPybEVZCflH7LopyobwrBo/KC9SLnn7IUnalCwvg=
Update codacy jar download url
language: java sudo: false install: true services: - docker jdk: - oraclejdk8 before_install: - sudo apt-get install jq - wget -O ~/codacy-coverage-reporter-assembly-latest.jar $(curl https://api.github.com/repos/codacy/codacy-coverage-reporter/releases/latest | jq -r .assets[0].browser_download_url) before_cache: - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock - rm -fr $HOME/.gradle/caches/*/plugin-resolution/ cache: directories: - "$HOME/.gradle/caches/" - "$HOME/.gradle/wrapper/" script: - "./gradlew test jacocoJunit5TestReport jar acceptanceTest --console=plain" after_success: - bash <(curl -s https://codecov.io/bash) - java -cp ~/codacy-coverage-reporter-assembly-latest.jar com.codacy.CodacyCoverageReporter -l Java -r build/reports/jacoco/jacocoJunit5TestReport/jacocoJunit5TestReport.xml - test "$TRAVIS_BRANCH" = "master" && sh .travis/deploy_heroku.sh
language: java sudo: false install: true services: - docker jdk: - oraclejdk8 before_install: - sudo apt-get install jq - sudo apt-get install libxml-xpath-perl - wget -O ~/codacy-coverage-reporter-assembly-latest.jar $(curl "https://oss.sonatype.org/service/local/repositories/releases/content/com/codacy/codacy-coverage-reporter/maven-metadata.xml" | xpath -e "/metadata/versioning/release/text()") before_cache: - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock - rm -fr $HOME/.gradle/caches/*/plugin-resolution/ cache: directories: - "$HOME/.gradle/caches/" - "$HOME/.gradle/wrapper/" script: - "./gradlew test jacocoJunit5TestReport jar acceptanceTest --console=plain" after_success: - bash <(curl -s https://codecov.io/bash) - java -cp ~/codacy-coverage-reporter-assembly-latest.jar com.codacy.CodacyCoverageReporter -l Java -r build/reports/jacoco/jacocoJunit5TestReport/jacocoJunit5TestReport.xml - test "$TRAVIS_BRANCH" = "master" && sh .travis/deploy_heroku.sh
Move codecov command to after_success build lifecycle step
sudo: required dist: trusty language: node_js node_js: - "8" - "7" - "6" before_install: - sudo apt-get -qq update - sudo apt-get install -y libasound2-dev test: - npm run test && npm run codecov
sudo: required dist: trusty language: node_js node_js: - "8" - "7" - "6" before_install: - sudo apt-get -qq update - sudo apt-get install -y libasound2-dev test: - npm run test after_success: - npm run codecov
Test with Node 8 and 10
language: node_js node_js: - "0.10" - "0.12" - "4" - "6" - "7"
language: node_js node_js: - "0.10" - "0.12" - "4" - "6" - "7" - "8" - "10"
Test on `stable` instead of `iojs`
language: node_js node_js: - 'iojs' - '0.12' - '0.10'
language: node_js node_js: - 'stable' - '0.12' - '0.10'
Build on io.js 2 and 3
language: node_js node_js: - "0.12" - iojs after_success: - npm run coveralls
language: node_js node_js: - "0.12" - iojs-v2 - iojs-v3 after_success: - npm run coveralls
Add ppa which supports cmake 3 on 12.04
language: cpp compiler: - g++ before_install: - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test - sudo add-apt-repository -y ppa:ubuntu-sdk-team/ppa - sudo add-apt-repository -y ppa:george-edison55/cmake-3.x - sudo apt-get update -qq install: - sudo apt-get install -qq gcc-4.8 g++-4.8 - sudo apt-get install -qq cmake - sudo apt-get install -qq qtbase5-dev qtdeclarative5-dev libqt5webkit5-dev - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90 before_script: - cmake . script: - make notifications: email: on_success: change on_failure: always slack: secure: YWuYn1oeOjim5xu0j0ip6Q7QndFViTtlxsX76IwKnr5BKgqXkjzVbdUQ4aLYhTm0vwP909JSyjKhULb3nZSGj5NOu7LI9pEw5pUhM/cAPrP/e2/hx5qMaKAMwbkMG8AQL9ngnAL1iZ588bJGC6mNOxcl7378eR3F/SMr+rTwuuU= os: - linux
language: cpp compiler: - g++ before_install: - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test - sudo add-apt-repository -y ppa:ubuntu-sdk-team/ppa - sudo add-apt-repository -y ppa:sschuberth/cmake-here - sudo apt-get update -qq install: - sudo apt-get install -qq gcc-4.8 g++-4.8 - sudo apt-get install -qq cmake - sudo apt-get install -qq qtbase5-dev qtdeclarative5-dev libqt5webkit5-dev - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90 before_script: - cmake . script: - make notifications: email: on_success: change on_failure: always slack: secure: YWuYn1oeOjim5xu0j0ip6Q7QndFViTtlxsX76IwKnr5BKgqXkjzVbdUQ4aLYhTm0vwP909JSyjKhULb3nZSGj5NOu7LI9pEw5pUhM/cAPrP/e2/hx5qMaKAMwbkMG8AQL9ngnAL1iZ588bJGC6mNOxcl7378eR3F/SMr+rTwuuU= os: - linux
Add Python 3.5, 3.6, 3.6-dev to builds
language: python python: - "2.7" - "3.3" - "3.4" - "pypy" install: - "pip install -r requirements.txt" - "pip install flake8 ipython" script: - "make test" notifications: email: false irc: channels: - "irc.freenode.org#noswap" template: - "%{repository}#%{build_number} (%{branch} - %{commit} : %{author}): %{message} - %{build_url}" use_notice: true skip_join: true
language: python python: - "3.3" - "3.4" - "3.5" - "3.6" - "3.6-dev" - "pypy" install: - "pip install -r requirements.txt" - "pip install flake8 ipython" script: - "make test" notifications: email: false irc: channels: - "irc.freenode.org#noswap" template: - "%{repository}#%{build_number} (%{branch} - %{commit} : %{author}): %{message} - %{build_url}" use_notice: true skip_join: true
Add Ruby 2.3, 2.5 to CI Matrix.
# Build Options language: ruby rvm: - 2.4.2 before_script: - cp .rspec.example .rspec script: - bundle exec thor ci:steps # Travis-CI Configuration cache: bundler sudo: false # Enable containerized builds.
# Build Options language: ruby rvm: - 2.3.6 - 2.4.3 - 2.5.0 before_script: - cp .rspec.example .rspec script: - bundle exec thor ci:steps # Travis-CI Configuration cache: bundler sudo: false # Enable containerized builds.
Remove support for legacy Node versions
language: node_js node_js: - "0.10" - "0.12" - "4" - "5" - "6"
language: node_js node_js: - "4" - "5" - "6"
Fix peer dependencies issue on CI
os: - linux - osx dist: trusty language: node_js node_js: - 4 - 6 - 7 - 8 before_install: - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install zmq; fi script: - travis_retry npm run report:coveralls env: global: - NODE_ENV=development addons: apt: sources: - ubuntu-toolchain-r-test packages: - libzmq3-dev
os: - linux - osx dist: trusty language: node_js node_js: - 4 - 6 - 7 - 8 # # The last test is required to avoid issues with peer dependencies upon # `npm install`. # # See: # https://github.com/npm/npm/issues/4749 # https://stackoverflow.com/questions/33816824/getting-npm-err-code-epeerinvalid-on-npm-packages-global-install # before_install: - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install zmq; fi - if [[ "$TRAVIS_NODE_VERSION" == "4" ]]; then npm install -g npm@3; fi script: - travis_retry npm run report:coveralls env: global: - NODE_ENV=development addons: apt: sources: - ubuntu-toolchain-r-test packages: - libzmq3-dev
Add i686 CI (without u64_digit)
language: rust sudo: false rust: - 1.15.0 - 1.22.0 # rand - 1.26.0 # has_i128 - 1.31.0 # 2018! - stable - beta - nightly script: - cargo build --verbose - ./ci/test_full.sh matrix: include: - name: "rustfmt" rust: 1.31.0 before_script: - rustup component add rustfmt script: - cargo fmt --all -- --check notifications: email: on_success: never branches: only: - master - next - staging - trying
language: rust sudo: false rust: - 1.15.0 - 1.22.0 # rand - 1.26.0 # has_i128 - 1.31.0 # 2018! - stable - beta - nightly script: - cargo build --verbose - ./ci/test_full.sh matrix: include: - name: "i686" rust: stable env: TARGET=i686-unknown-linux-gnu addons: apt: packages: - gcc-multilib before_script: - rustup target add $TARGET script: - cargo build --verbose --target $TARGET --all-features - cargo test --verbose --target $TARGET --all-features - name: "rustfmt" rust: 1.31.0 before_script: - rustup component add rustfmt script: - cargo fmt --all -- --check notifications: email: on_success: never branches: only: - master - next - staging - trying
Remove mirage-profile version pin entirely; require sudo.
language: c install: wget https://raw.githubusercontent.com/ocaml/ocaml-travisci-skeleton/master/.travis-opam.sh script: bash -ex .travis-opam.sh env: global: - PINS="lwt.dev:https://github.com/mirage/lwt.git#tracing mirage-profile:https://github.com/mirage/mirage-profile.git#v0.7.0" - WITH_TRACING=1 matrix: - OCAML_VERSION=4.02 POST_INSTALL_HOOK="make MODE=unix && make testrun SUDO=sudo && make clean" - OCAML_VERSION=4.02 UPDATE_GCC_BINUTILS=1 POST_INSTALL_HOOK="make MODE=xen && make clean"
language: c install: wget https://raw.githubusercontent.com/ocaml/ocaml-travisci-skeleton/master/.travis-opam.sh script: bash -ex .travis-opam.sh sudo: required env: global: - PINS="lwt.dev:https://github.com/mirage/lwt.git#tracing" - WITH_TRACING=1 matrix: - OCAML_VERSION=4.02 POST_INSTALL_HOOK="make MODE=unix && make testrun SUDO=sudo && make clean" - OCAML_VERSION=4.02 UPDATE_GCC_BINUTILS=1 POST_INSTALL_HOOK="make MODE=xen && make clean"
Use node 4 in tests
language: node_js sudo: false cache: directories: - $HOME/.node-gyp - $HOME/.npm - node_modules before_install: - "export DISPLAY=:99.0" - "sh -e /etc/init.d/xvfb start"
language: node_js node_js: - "4" sudo: false cache: directories: - $HOME/.node-gyp - $HOME/.npm - node_modules before_install: - "export DISPLAY=:99.0" - "sh -e /etc/init.d/xvfb start"
Use a newer version of Firefox
sudo: false language: node_js before_install: - "export DISPLAY=:99.0" - "sh -e /etc/init.d/xvfb start" node_js: - "0.12" - "4.2.2" - "iojs"
sudo: false language: node_js addons: firefox: "44.0" before_install: - "export DISPLAY=:99.0" - "sh -e /etc/init.d/xvfb start" node_js: - "0.12" - "4.2.2" - "iojs"
Disable snapshot deployment (until nexus.codehaus.org is back up)
language: java jdk: - oraclejdk7 - openjdk7 - oraclejdk8 install: mvn -U install clean --fail-never --quiet -DskipTests script: mvn -U verify --fail-at-end notifications: email: on_success: never matrix: fast_finish: true env: global: - secure: F2kgyU0SYq/hGaZc7BNWa59MSUL5IvzpasuZqPgO7zvVbGzsLKphrmonoCZo1oWiX5vHrDY5XuSFom8M2W+7+aHifrkKC6nmOz7ltdVBmed3UGMvitqF+Zng6gqOP+hB0pgdlhDmD450luTz+VNDjAAeZndJenWFqy+xltIax24= - secure: MX+HvNp6GDxM3MLujcj39Kc1cZGL5jjmbyXeiV8452NSH/d7EKTE4wCagB+kdeNnF5dKKk+Fg0BeDKJ1y8LegEcuwNpAm8MLB6P8BmwVwgfYBWb6/H4Ag1PBCXZR5XivXRk66WYxPyw1ritKxkx/SgfrkHPjh3wYvuNdnJDzxLY= after_success: - ci/deploy-snapshot.sh - ci/deploy-site.sh
language: java jdk: - oraclejdk7 - openjdk7 - oraclejdk8 install: mvn -U install clean --fail-never --quiet -DskipTests script: mvn -U verify --fail-at-end notifications: email: on_success: never matrix: fast_finish: true after_success: - ci/deploy-site.sh
Add "sudo: false" to Travis config
language: node_js node_js: - "0.10" before_script: npm i -g grunt-cli
sudo: false language: node_js node_js: - "0.10" before_script: npm i -g grunt-cli
Use xcpretty for Travis builds.
osx_image: xcode8.3 language: objective-c env: - DEST='platform=iOS Simulator,name=iPhone 7 Plus,OS=10.3' - DEST='platform=iOS Simulator,name=iPhone 6S Plus,OS=9.3' install: - xcodebuild -project LNPopupControllerExample/LNPopupControllerExample.xcodeproj -scheme LNPopupControllerExample -sdk iphonesimulator build-for-testing script: - xcodebuild -project LNPopupControllerExample/LNPopupControllerExample.xcodeproj -scheme LNPopupControllerExample -sdk iphonesimulator test-without-building -destination "$DEST"
osx_image: xcode8.3 language: objective-c env: - DEST='platform=iOS Simulator,name=iPhone 7 Plus,OS=10.3' - DEST='platform=iOS Simulator,name=iPhone 6S Plus,OS=9.3' script: - set -o pipefail - xcodebuild -project LNPopupControllerExample/LNPopupControllerExample.xcodeproj -scheme LNPopupControllerExample -sdk iphonesimulator build-for-testing | xcpretty -c - xcodebuild -project LNPopupControllerExample/LNPopupControllerExample.xcodeproj -scheme LNPopupControllerExample -sdk iphonesimulator test-without-building -destination "$DEST" | xcpretty -c
Use secure token for flowdock
language: node_js node_js: - "0.10" before_script: - ./scripts/create-schema.sh services: - redis-server - cassandra notifications: flowdock: 27e56ca105e90e3787e74dbe9470a066
language: node_js node_js: - "0.10" before_script: - ./scripts/create-schema.sh services: - redis-server - cassandra notifications: flowdock: secure: "ZxHS9m239A9qtqmEJI/nlb7epAlLOtlSbLoKtLiOE9BScKkoe+MFKrvvFGInli8UjuvgguYkldq9Y7/A5hS7Ty7m7SewkNWz9y0mXwR8NQG3zGVFNk3+8hN2ipfi9FZdAEKtm5cwNNw0y7mBWeibOPOQLkSpTlYtx0H91PoSikQ="
Add PostgreSQL 10 to Travis
language: go go: - 1.x - tip # Derived from https://github.com/lib/pq/blob/master/.travis.yml before_install: - ./travis/before_install.bash env: global: - PGX_TEST_DATABASE=postgres://pgx_md5:secret@127.0.0.1/pgx_test matrix: - CRATEVERSION=2.1 - PGVERSION=9.6 - PGVERSION=9.5 - PGVERSION=9.4 - PGVERSION=9.3 - PGVERSION=9.2 before_script: - ./travis/before_script.bash install: - ./travis/install.bash script: - ./travis/script.bash matrix: allow_failures: - go: tip
language: go go: - 1.x - tip # Derived from https://github.com/lib/pq/blob/master/.travis.yml before_install: - ./travis/before_install.bash env: global: - PGX_TEST_DATABASE=postgres://pgx_md5:secret@127.0.0.1/pgx_test matrix: - CRATEVERSION=2.1 - PGVERSION=10 - PGVERSION=9.6 - PGVERSION=9.5 - PGVERSION=9.4 - PGVERSION=9.3 - PGVERSION=9.2 before_script: - ./travis/before_script.bash install: - ./travis/install.bash script: - ./travis/script.bash matrix: allow_failures: - go: tip
Test with latest patch versions of Neo4j
script: - "bundle exec rubocop" - "bundle exec rake neo4j:install[$NEO4J_VERSION] neo4j:disable_auth neo4j:start default --trace" language: ruby rvm: - 2.2.2 - 2.1.5 - jruby-1.7.18 # - jruby-19mode env: - NEO4J_VERSION=community-2.2.1 - NEO4J_VERSION=community-2.1.7 sudo: false
script: - "bundle exec rubocop" - "bundle exec rake neo4j:install[$NEO4J_VERSION] neo4j:disable_auth neo4j:start default --trace" language: ruby rvm: - 2.2.2 - 2.1.5 - jruby-1.7.18 # - jruby-19mode env: - NEO4J_VERSION=community-latest - NEO4J_VERSION=community-2.1.8 sudo: false
Fix bundler issue with build
language: ruby dist: trusty sudo: false cache: bundler rvm: - 2.6.2 addons: apt: packages: - vim-gtk env: - TRAVIS_CI=1 before_script: - "export DISPLAY=:99.0" - "sh -e /etc/init.d/xvfb start" - "vim --version"
language: ruby dist: trusty sudo: false cache: bundler rvm: - 2.6.2 addons: apt: packages: - vim-gtk env: - TRAVIS_CI=1 before_install: - "gem install bundler" before_script: - "export DISPLAY=:99.0" - "sh -e /etc/init.d/xvfb start" - "vim --version"
Add OpenJDK 9 and 10 to Travis CI build matrix
sudo: false language: java after_success: - mvn clean test jacoco:report coveralls:report jdk: - openjdk8 - oraclejdk8 - oraclejdk9
sudo: false language: java after_success: - mvn clean test jacoco:report coveralls:report jdk: - openjdk8 - oraclejdk8 - openjdk9 - oraclejdk9 - openjdk10
Remove the python3.5 interpreter for now since Travis is not ready
language: python python: "2.7" env: - TOX_ENV=py26-django14 - TOX_ENV=py26-django15 - TOX_ENV=py26-django16 - TOX_ENV=py27-django14 - TOX_ENV=py27-django15 - TOX_ENV=py27-django16 - TOX_ENV=py27-django17 - TOX_ENV=py27-django18 - TOX_ENV=py27-django19 - TOX_ENV=py33-django15 - TOX_ENV=py33-django16 - TOX_ENV=py33-django17 - TOX_ENV=py33-django18 - TOX_ENV=py34-django15 - TOX_ENV=py34-django16 - TOX_ENV=py34-django17 - TOX_ENV=py34-django18 - TOX_ENV=py34-django19 - TOX_ENV=py35-django19 - TOX_ENV=docs install: - pip install tox - pip install coveralls script: - tox -e $TOX_ENV after_success: - coveralls
language: python python: "2.7" env: - TOX_ENV=py26-django14 - TOX_ENV=py26-django15 - TOX_ENV=py26-django16 - TOX_ENV=py27-django14 - TOX_ENV=py27-django15 - TOX_ENV=py27-django16 - TOX_ENV=py27-django17 - TOX_ENV=py27-django18 - TOX_ENV=py27-django19 - TOX_ENV=py33-django15 - TOX_ENV=py33-django16 - TOX_ENV=py33-django17 - TOX_ENV=py33-django18 - TOX_ENV=py34-django15 - TOX_ENV=py34-django16 - TOX_ENV=py34-django17 - TOX_ENV=py34-django18 - TOX_ENV=py34-django19 - TOX_ENV=docs install: - pip install tox - pip install coveralls script: - tox -e $TOX_ENV after_success: - coveralls
Test against the package.json target version as well as latest node, however will change again with ES6 version later on.
sudo: false language: node_js node_js: - 'iojs' - '0.10'
sudo: false language: node_js node_js: - '0.6' - 'node'
Use zef instead of panda
language: perl6 perl6: - latest install: - rakudobrew build-panda - panda installdeps .
language: perl6 perl6: - latest install: - rakudobrew build-zef - zef installdeps .
Install orocos kdl in a local dependecy
language: cpp compiler: - gcc - clang env: - KDL_CODYCO_BUILD_TYPE=Debug - KDL_CODYCO_BUILD_TYPE=Release before_script: - sudo apt-get install -qq libeigen3-dev - git clone https://github.com/orocos/orocos_kinematics_dynamics - cd orocos_kinematics_dynamics/orocos_kdl - mkdir build - cd build - cmake ../ - make - sudo make install - cd ../../.. - mkdir build - cd build - cmake -DCREATE_TESTS:BOOL=ON -DCMAKE_CXX_FLAGS:STRING="-Wall" -DCMAKE_BUILD_TYPE=${KDL_CODYCO_BUILD_TYPE} ./.. script: make && make test
language: cpp compiler: - gcc - clang env: - KDL_CODYCO_BUILD_TYPE=Debug - KDL_CODYCO_BUILD_TYPE=Release before_script: - sudo apt-get install -qq libeigen3-dev - git clone https://github.com/orocos/orocos_kinematics_dynamics - cd orocos_kinematics_dynamics/orocos_kdl - mkdir build - cd build - mkdir local_install - cmake -DCMAKE_INSTALL_PREFIX="./local_install" ../ - make - make install - cd ../../.. - mkdir build - cd build - cmake -DCREATE_TESTS:BOOL=ON -DCMAKE_CXX_FLAGS:STRING="-Wall" -DCMAKE_BUILD_TYPE=${KDL_CODYCO_BUILD_TYPE} ./.. script: make && make test
Add Ruby2.3 to Travis CI target
language: ruby rvm: - 2.2 branches: only: - master script: bundle exec rake spec before_install: - gem update bundler
language: ruby rvm: - 2.2 - 2.3 branches: only: - master script: bundle exec rake spec before_install: - gem update bundler
Set install and script correctly.
language: java jdk: oraclejdk8 install: mvn clean verify jacoco:prepare-agent test jacoco:report -Dmaven.test.failure.ignore after_success: - bash <(curl -s https://codecov.io/bash) - echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca- env: matrix: - secure: "TqXeMA6pcktyfeoSX7th8EZyl7Gr/+DwDaRznTsW1sHoQF0UtTXyd8lkNMXMKlbnwZVIv2DQ3JxM9dBkoRlusLcRANcUIdpY4nd9so2zQfFWOhST6Vdyf0jb9s/TSIbJxMPuM7ZP/MKaAFV8EZa3gtFqJuP8nFxVWB8JwJwUeVA=" addons: coverity_scan: project: name: "jenkinsci/analysis-model" description: "Build submitted via Travis CI" notification_email: ullrich.hafner@gmail.com build_command_prepend: "mvn clean" build_command: "mvn -DskipTests=true compile" branch_pattern: master
language: java jdk: oraclejdk8 install : true script : mvn clean verify jacoco:prepare-agent test jacoco:report -Dmaven.test.failure.ignore after_success: - bash <(curl -s https://codecov.io/bash) - echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca- env: matrix: - secure: "TqXeMA6pcktyfeoSX7th8EZyl7Gr/+DwDaRznTsW1sHoQF0UtTXyd8lkNMXMKlbnwZVIv2DQ3JxM9dBkoRlusLcRANcUIdpY4nd9so2zQfFWOhST6Vdyf0jb9s/TSIbJxMPuM7ZP/MKaAFV8EZa3gtFqJuP8nFxVWB8JwJwUeVA=" addons: coverity_scan: project: name: "jenkinsci/analysis-model" description: "Build submitted via Travis CI" notification_email: ullrich.hafner@gmail.com build_command_prepend: "mvn clean" build_command: "mvn -DskipTests=true compile" branch_pattern: master
Remove Unnecessary Usage of test-reporter fork in Travis Config
language: go go: - "1.12" env: - GO111MODULE=on # This should be github.com/codeclimate/test-reporter when https://github.com/codeclimate/test-reporter/issues/378 is resolved # Right now, this uses a hack in this fork to remove the first part of a path (in our case 'v2/' when failing). With proper # support for Go modules, this hack wouldn't be required install: - GO111MODULE=off go get github.com/alexandre-normand/test-reporter before_script: - test-reporter before-build script: - go test -coverprofile c.out ./... after_script: - test-reporter after-build --debug --exit-code $TRAVIS_TEST_RESULT
language: go go: - "1.12" env: - GO111MODULE=on install: - GO111MODULE=off go get github.com/codeclimate/test-reporter before_script: - test-reporter before-build script: - go test -coverprofile c.out ./... after_script: - test-reporter after-build --prefix github.com/alexandre-normand/slackscot/ --debug --exit-code $TRAVIS_TEST_RESULT
Check ci with latest npm like in Jest
language: node_js node_js: - "6" - "4" before_script: - npm install -g jest-cli sudo: false
language: node_js node_js: - "6" - "4" before_install: - npm i -g npm@latest sudo: false
Upgrade to latest Travis CI infrastructure
language: java env: - DISPLAY=:99.0 before_install: - "sh -e /etc/init.d/xvfb start" after_success: - ./gradlew jacocoTestReport coveralls
language: java env: - DISPLAY=:99.0 before_install: - "sh -e /etc/init.d/xvfb start" after_success: - ./gradlew jacocoTestReport coveralls sudo: false
Update scheme for Travis CI
language: objective-c xcode_project: Tests/AutoLayout.xcodeproj xcode_scheme: AutoLayoutTests
language: objective-c xcode_project: Tests/AutoLayout.xcodeproj xcode_scheme: AutoLayout
Fix coverage count in JRuby
language: ruby sudo: false rvm: - 2.2.5 - 2.3.1 - jruby-head - jruby-9.0.4.0 - rbx-3.59 jdk: - openjdk7 - oraclejdk8 matrix: exclude: - rvm: 2.2.5 jdk: openjdk7 - rvm: 2.3.1 jdk: openjdk7 - rvm: rbx-3.59 jdk: openjdk7 allow_failures: - rvm: jruby-head - rvm: rbx-3.59 os: - linux before_install: - gem install bundler script: - gem list -l - rake spec - gem build ./em-midori.gemspec bundler_args: --jobs 1 --retry 3 notifications: email: false
language: ruby sudo: false rvm: - 2.2.5 - 2.3.1 - jruby-head - jruby-9.0.4.0 - rbx-3.59 jdk: - openjdk7 - oraclejdk8 matrix: exclude: - rvm: 2.2.5 jdk: openjdk7 - rvm: 2.3.1 jdk: openjdk7 - rvm: rbx-3.59 jdk: openjdk7 allow_failures: - rvm: jruby-head - rvm: rbx-3.59 os: - linux before_install: - gem install bundler script: - gem list -l - export JRUBY_OPTS="--debug" - rake spec - gem build ./em-midori.gemspec bundler_args: --jobs 1 --retry 3 notifications: email: false
Use the NPM on tap.
sudo: false language: node_js node_js: - '4' - '6' - '8' branches: only: - master - travis-ci install: - npm install -g npm - npm install --no-package-lock --no-save - npm install -g istanbul coveralls
sudo: false language: node_js node_js: - '4' - '6' - '8' branches: only: - master - travis-ci install: - npm install --no-package-lock --no-save - npm install -g istanbul coveralls
Add Rubinius to the CI matrix
script: "rake db:drop db:create db:migrate test" rvm: - 1.8.7 - 1.9.2 - ree
script: "rake db:drop db:create db:migrate test" rvm: - 1.8.7 - 1.9.2 - rbx - ree
Increase minimum supported rust version to 1.51
dist: xenial language: rust env: RUST_BACKTRACE=1 matrix: include: - os: linux rust: 1.46.0 env: TARGET=x86_64-unknown-linux-gnu EXTRA_ARGS="" - os: linux rust: nightly env: TARGET=x86_64-unknown-linux-gnu EXTRA_ARGS="" - os: osx rust: stable env: TARGET=x86_64-apple-darwin EXTRA_ARGS="" - os: windows rust: beta env: TARGET=x86_64-pc-windows-msvc EXTRA_ARGS="--exclude=evcxr_jupyter" fast_finish: true install: # prevent target re-add error from rustup - if [[ "$TRAVIS_OS_NAME" == "linux" && "$TARGET" != "x86_64-unknown-linux-gnu" ]]; then rustup target add $TARGET; fi - rustup component add rust-src before_script: - rustup -V; rustc -V; cargo -V - if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then rm "C:/Program Files/Git/usr/bin/sh.exe"; fi script: - travis_wait 40 cargo test --release --verbose --all $EXTRA_ARGS - cargo run --release -p print_performance_info notifications: email: - dvdlttmr@gmail.com
dist: xenial language: rust env: RUST_BACKTRACE=1 matrix: include: - os: linux rust: 1.51.0 env: TARGET=x86_64-unknown-linux-gnu EXTRA_ARGS="" - os: linux rust: nightly env: TARGET=x86_64-unknown-linux-gnu EXTRA_ARGS="" - os: osx rust: stable env: TARGET=x86_64-apple-darwin EXTRA_ARGS="" - os: windows rust: beta env: TARGET=x86_64-pc-windows-msvc EXTRA_ARGS="--exclude=evcxr_jupyter" fast_finish: true install: # prevent target re-add error from rustup - if [[ "$TRAVIS_OS_NAME" == "linux" && "$TARGET" != "x86_64-unknown-linux-gnu" ]]; then rustup target add $TARGET; fi - rustup component add rust-src before_script: - rustup -V; rustc -V; cargo -V - if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then rm "C:/Program Files/Git/usr/bin/sh.exe"; fi script: - travis_wait 40 cargo test --release --verbose --all $EXTRA_ARGS - cargo run --release -p print_performance_info notifications: email: - dvdlttmr@gmail.com
Add caching directory to node_modules
language: node_js node_js: - "0.10" before_script: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start - npm install -g grunt-cli bower - npm install - bower install
language: node_js node_js: - "0.10" before_script: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start - npm install -g grunt-cli bower - npm install cache: directories: - node_modules
Remove Ruby 1.9.2 from Travis - Rails 4 needs 1.9.3+
--- language: ruby rvm: - 2.0.0 - 1.9.3 - 1.9.2
--- language: ruby rvm: - 2.0.0 - 1.9.3
Remove explicit `npm install` from Travis config
# Travis CI Configuration language: node_js node_js: - "7" - "6" - "5" - "4" before_install: - export CHROME_BIN=chromium-browser - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start install: - npm install before_script: - ./node_modules/brunch/bin/brunch build
# Travis CI Configuration language: node_js node_js: - "7" - "6" - "5" - "4" before_install: - export CHROME_BIN=chromium-browser - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start before_script: - ./node_modules/brunch/bin/brunch build
Add flake8 to the Travis deps.
language: python python: - "2.6" - "2.7" - "3.2" - "3.3" - "3.4" - "pypy" install: # No dependencies. script: python setup.py test
language: python python: - "2.6" - "2.7" - "3.2" - "3.3" - "3.4" - "pypy" install: - pip install flake8 script: python setup.py test
Update built tools for Travis.
language: android jdk: oraclejdk8 android: components: - tools - tools - build-tools-25.0.3 - android-25 - extra-android-support - extra-android-m2repository licenses: - android-sdk-license-.+ before_install: - chmod +x gradlew
language: android jdk: oraclejdk8 android: components: - tools - tools - build-tools-26.0.1 - android-26 - extra-android-support - extra-android-m2repository licenses: - android-sdk-license-.+ before_install: - chmod +x gradlew
Build against 1.9.1 and 1.8.4
language: go go: - 1.8.3 - 1.7.6 sudo: false script: - go vet ./... - go test ./...
language: go go: - 1.9.1 - 1.8.4 sudo: false script: - go vet ./... - go test ./...
Add Solidus v2.8 to Travis config
sudo: required cache: bundler language: ruby dist: trusty addons: chrome: stable apt: packages: - chromium-chromedriver before_script: - ln -s /usr/lib/chromium-browser/chromedriver ~/bin/chromedriver rvm: - 2.3.5 env: matrix: - SOLIDUS_BRANCH=v2.3 DB=postgres - SOLIDUS_BRANCH=v2.4 DB=postgres - SOLIDUS_BRANCH=v2.5 DB=postgres - SOLIDUS_BRANCH=v2.6 DB=postgres - SOLIDUS_BRANCH=v2.7 DB=postgres - SOLIDUS_BRANCH=master DB=postgres - SOLIDUS_BRANCH=v2.3 DB=mysql - SOLIDUS_BRANCH=v2.4 DB=mysql - SOLIDUS_BRANCH=v2.5 DB=mysql - SOLIDUS_BRANCH=v2.6 DB=mysql - SOLIDUS_BRANCH=v2.7 DB=mysql - SOLIDUS_BRANCH=master DB=mysql
sudo: required cache: bundler language: ruby dist: trusty addons: chrome: stable apt: packages: - chromium-chromedriver before_script: - ln -s /usr/lib/chromium-browser/chromedriver ~/bin/chromedriver rvm: - 2.3.5 env: matrix: - SOLIDUS_BRANCH=v2.3 DB=postgres - SOLIDUS_BRANCH=v2.4 DB=postgres - SOLIDUS_BRANCH=v2.5 DB=postgres - SOLIDUS_BRANCH=v2.6 DB=postgres - SOLIDUS_BRANCH=v2.7 DB=postgres - SOLIDUS_BRANCH=v2.8 DB=postgres - SOLIDUS_BRANCH=master DB=postgres - SOLIDUS_BRANCH=v2.3 DB=mysql - SOLIDUS_BRANCH=v2.4 DB=mysql - SOLIDUS_BRANCH=v2.5 DB=mysql - SOLIDUS_BRANCH=v2.6 DB=mysql - SOLIDUS_BRANCH=v2.7 DB=mysql - SOLIDUS_BRANCH=v2.8 DB=mysql - SOLIDUS_BRANCH=master DB=mysql
Enable test retry in Travis because of SauceLabs problems.
language: node_js install: npm install script: - gulp test:mobile - gulp test:desktop - gulp test:shadow
language: node_js install: travis_retry npm install script: - travis_retry gulp test:mobile - travis_retry gulp test:desktop - travis_retry gulp test:shadow
Configure compiler for native extensions.
language: node_js node_js: - "4.1" - "4.0" - "0.11" - "0.10" before_install: - sudo apt-get update -qq - sudo apt-get install -qq libmagick++-dev
language: node_js node_js: - "4.1" - "4.0" - "0.11" - "0.10" before_install: - sudo apt-get update -qq - sudo apt-get install -qq libmagick++-dev env: - CXX=g++-4.8 addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-4.8
Test controlled shutdown on Travis
language: ruby sudo: required services: - docker cache: - bundler rvm: - 2.3 env: global: - KITCHEN_YAML=.kitchen.docker.yml matrix: - CHEF_VERSION=11 KAFKA_VERSION=0.8.1.1 - CHEF_VERSION=12 KAFKA_VERSION=0.10.1.1 SCALA_VERSION=2.11 install: travis_wait bundle install --jobs=3 --retry=3 --deployment --path=${BUNDLE_PATH:-vendor/bundle} script: bundle exec kitchen test --concurrency=3 --destroy=always matrix: fast_finish: true include: - sudo: false env: [] rvm: 2.3 script: bundle exec rake test - sudo: false env: [] rvm: 1.9 gemfile: gemfiles/chef-11/Gemfile script: bundle exec rspec spec
language: ruby sudo: required services: - docker cache: - bundler rvm: - 2.3 env: global: - KITCHEN_YAML=.kitchen.docker.yml matrix: - CHEF_VERSION=11 KAFKA_VERSION=0.8.1.1 - CHEF_VERSION=11 KAFKA_VERSION=0.8.1.1 KAFKA_CTRL_SHUTDOWN=true - CHEF_VERSION=12 KAFKA_VERSION=0.10.1.1 SCALA_VERSION=2.11 install: travis_wait bundle install --jobs=3 --retry=3 --deployment --path=${BUNDLE_PATH:-vendor/bundle} script: bundle exec kitchen test --concurrency=3 --destroy=always matrix: fast_finish: true include: - sudo: false env: [] rvm: 2.3 script: bundle exec rake test - sudo: false env: [] rvm: 1.9 gemfile: gemfiles/chef-11/Gemfile script: bundle exec rspec spec
Use 4.2 in nvm command
sudo: false language: node_js node_js: - "0.12" - "4.2" env: - TARGET=test - TARGET=test-stress - TARGET=test-multi - TARGET=test-multi-remote before_install: - sudo apt-get update -qq - sudo apt-get install -qq socat - ssh-keygen -t rsa -f ~/.ssh/id_rsa -N '' - cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys - ssh-keyscan -t rsa localhost >> ~/.ssh/known_hosts - echo . ~/.nvm/nvm.sh > ~/.bashrc.new - cat ~/.bashrc >> ~/.bashrc.new - mv ~/.bashrc.new ~/.bashrc - nvm alias default 0.12 - ssh localhost node --version script: npm run travis-$TARGET
sudo: false language: node_js node_js: - "4.2" env: - TARGET=test - TARGET=test-stress - TARGET=test-multi - TARGET=test-multi-remote before_install: - sudo apt-get update -qq - sudo apt-get install -qq socat - ssh-keygen -t rsa -f ~/.ssh/id_rsa -N '' - cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys - ssh-keyscan -t rsa localhost >> ~/.ssh/known_hosts - echo . ~/.nvm/nvm.sh > ~/.bashrc.new - cat ~/.bashrc >> ~/.bashrc.new - mv ~/.bashrc.new ~/.bashrc - nvm alias default 4.2 - ssh localhost node --version script: npm run travis-$TARGET
Update test matrix to test against latest Puppet version
--- sudo: false language: ruby cache: bundler bundler_args: --without development system_tests before_install: rm Gemfile.lock || true script: bundle exec rake test SPEC_OPTS='--format documentation' rvm: - 1.9.3 - 2.0.0 - 2.1.0 env: matrix: - PUPPET_VERSION="~> 3.8.0" - PUPPET_VERSION="~> 4.3.0" matrix: fast_finish: true
--- sudo: false language: ruby cache: bundler bundler_args: --without development system_tests before_install: rm Gemfile.lock || true script: bundle exec rake test SPEC_OPTS='--format documentation' rvm: - 1.9.3 - 2.0.0 - 2.1.0 env: matrix: - PUPPET_VERSION="~> 3.8.0" - PUPPET_VERSION="~> 4.4.0" matrix: fast_finish: true
Use rustup.rs to install Rust in Travis builds
language: python python: - "2.7" - "3.3" - "3.4" - "3.5" - "3.6" env: - RUST_VERSION=1.25.0 - RUST_VERSION=nightly sudo: false install: - python -c "import sysconfig; print('\n'.join(map(repr,sorted(sysconfig.get_config_vars().items()))))" - mkdir ~/rust-installer - curl -sL https://static.rust-lang.org/rustup.sh -o ~/rust-installer/rustup.sh - sh ~/rust-installer/rustup.sh --prefix=~/rust --spec=$RUST_VERSION -y --disable-sudo - export PATH="$HOME/rust/bin:$PATH" - export PYTHON_LIB=$(python -c "import sysconfig; print(sysconfig.get_config_var('LIBDIR'))") - find $PYTHON_LIB - export LIBRARY_PATH="$LIBRARY_PATH:$PYTHON_LIB" - export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$PYTHON_LIB:$HOME/rust/lib" - rustc -V script: - make test extensions
language: python python: - "2.7" - "3.3" - "3.4" - "3.5" - "3.6" env: - RUST_VERSION=1.25.0 - RUST_VERSION=nightly matrix: include: - python: "3.7" dist: xenial sudo: true env: RUST_VERSION=1.25.0 - python: "3.7" dist: xenial sudo: true env: RUST_VERSION=nightly sudo: false install: - python -c "import sysconfig; print('\n'.join(map(repr,sorted(sysconfig.get_config_vars().items()))))" - curl -sSf https://sh.rustup.rs | sh -s -- -y --no-modify-path --default-toolchain "$RUST_VERSION" - export PATH="$HOME/.cargo/bin:$PATH" - export PYTHON_LIB=$(python -c "import sysconfig; print(sysconfig.get_config_var('LIBDIR'))") - find $PYTHON_LIB - export LIBRARY_PATH="$LIBRARY_PATH:$PYTHON_LIB" - export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$PYTHON_LIB" - rustc -V script: - make test extensions
Use node v0.12 instead of v0.11 for Travis
language: java jdk: - oraclejdk8 env: - NODE_VERSION="0.11" - NODE_VERSION="0.10" before_install: - sudo apt-get update -qq - sudo apt-get install -y graphviz - nvm install $NODE_VERSION before_script: - npm install script: - npm test
language: java jdk: - oraclejdk8 env: - NODE_VERSION="0.12" - NODE_VERSION="0.10" before_install: - sudo apt-get update -qq - sudo apt-get install -y graphviz - nvm install $NODE_VERSION before_script: - npm install script: - npm test
Debug - inspect python path.
language: python python: - "2.7" - "3.4" - "nightly" # command to install dependencies # setup anaconda install: - wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh - chmod +x miniconda.sh - bash miniconda.sh -b -p $HOME/miniconda - export PATH="$HOME/miniconda/bin:$PATH" - conda update -y conda # - conda create -n test # - source activate test # install packages - conda install -y numpy scipy matplotlib networkx biopython - echo $PATH - echo $PYTHONPATH - which python - ls /home/travis/miniconda/bin/python # command to run tests script: py.test
language: python python: - "2.7" - "3.4" - "nightly" # command to install dependencies # setup anaconda install: - wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh - chmod +x miniconda.sh - bash miniconda.sh -b -p $HOME/miniconda - export PATH="$HOME/miniconda/bin:$PATH" - conda update -y conda # - conda create -n test # - source activate test # install packages - conda install -y numpy scipy matplotlib networkx biopython - echo $PATH - echo $PYTHONPATH - which python - cd .. - cd .. - cd .. - cd /home/travis/miniconda/bin/python - ls # command to run tests script: py.test
Switch to container-based Travis CI builds.
language: clojure lein: lein2 script: lein2 do clean, prep, all test jdk: - openjdk7
sudo: false language: clojure lein: lein2 script: lein2 do clean, prep, all test jdk: - openjdk7
Allow tests to fail against PHP7 until final release, since we are hitting a PHP bug
language: php php: - 5.4 - 5.5 - 5.6 - 7 - nightly - hhvm matrix: allow_failures: - php: hhvm - php: nightly before_script: - composer install --no-interaction
language: php php: - 5.4 - 5.5 - 5.6 - 7 - nightly - hhvm matrix: allow_failures: - php: hhvm - php: nightly - php: 7 before_script: - composer install --no-interaction
Update ruby version for Travis.
language: ruby bundler_args: --without debug script: "bundle exec rspec spec" env: - CI=true rvm: 2.0.0 cache: bundler
language: ruby bundler_args: --without debug script: "bundle exec rspec spec" env: - CI=true rvm: 2.1.1 cache: bundler
Add Slack notifications for builds
language: node_js node_js: - stable
language: node_js node_js: - stable notifications: slack: rooms: secure: iDvzpHkbW7pooU0XdRAG2A9unCbWDB6PwJY0KwVAiawI5uHZHQeRToaiifbCBbSsXv4IWfGIytmg4ufKhE/BrVw1GLeiWWujsfuIKoY0tBPlamawhH8gulMH2AbggWIXVz5oBq37i80Z45DXENx0FkSl9szzx+HU0U9D7+aVWppGQcAvyN7Ih93ZDBPyEhV/hIw9NMFQuRFn96n0QE1gxAdCMnngkJ0aujTN0CoCcIAJYTkzaae4B27SQJ8C9n3JLjOxq7Q5trW9cCtGSRjlnver8xIRlQr34ScQxHlJahuuufM4MM1lCKzRLSxn7uHvauy+KyArRuuMCNue/CxsO8e6uAgPpJqC3OIXRqpjo7kvigjZgoTTdKLEUcjz/U+O7pKAy04IInZ5xBayi1oExER4vgxs3zGHgC/MRy+K/ZAPETz2KAEhzDURi+sKNxwjM8B/S6WMTo9ZM1VFvYoDBRV+B0UR5Cwno6rQZi+C7Hd2bOxL9wu8BL9Q5tcjjtjk9+skM4ZkrFZDrwcLbuwOpgrTxiGNH/NOLZj5z/lTZPA9UCWhCfud9f7f7Q2b2FYFL7c8zVgztLGjXRPR3QPLNRk2PRDR93gzbYIGeRKpLl3F47g7ogvURc5jVXQwiD0NOOjLHbLjCXxX7RU7YdAyBMGBvKec6Cb9BrXjEgbFU2U=
Select trusty containers explicitly for Travis builds.
language: node_js services: - mongodb node_js: - 4 - 6 script: npm run ci notifications: email: false
dist: trusty sudo: false language: node_js services: - mongodb node_js: - 4 - 6 script: npm run ci notifications: email: false
Drop PHP 5.4 and 5.5
# Travis CI configuration file. language: php # 5.4 is required for Codeception. php: - 5.4 - 5.5 - 5.6 - 7.0 env: - WP_VERSION=master - WP_VERSION=4.5 - WP_VERSION=4.4 # Use the new container-based infrastructure (it's faster). sudo: false matrix: include: # Only run HHVM against trunk. - php: hhvm env: TRAVISCI_RUN=phpunit WP_VERSION=master # Only run nightly against trunk. - php: nightly env: TRAVISCI_RUN=phpunit WP_VERSION=master allow_failures: - php: hhvm - php: nightly fast_finish: true before_script: # Define vars. - export WP_DEVELOP_DIR=/tmp/wordpress - export WP_CORE_DIR=/tmp/wordpress/src - export WP_CEPT_SERVER='localhost:8888' # Install WordPress - source travis.sh - install-wordpress # Start up a web server. - php -S "$WP_CEPT_SERVER" -t "$WP_CORE_DIR" & # Start up the webdriver. - phantomjs --webdriver=4444 & # Install Codeception and WP Browser. # Doing this last gives the webdriver and server time to start up. - composer install --prefer-source script: - vendor/bin/wpcept run # EOF
# Travis CI configuration file. language: php # 5.4 is required for Codeception. php: - 5.6 - 7.0 env: - WP_VERSION=master - WP_VERSION=4.5 - WP_VERSION=4.4 # Use the new container-based infrastructure (it's faster). sudo: false matrix: include: # Only run HHVM against trunk. - php: hhvm env: TRAVISCI_RUN=phpunit WP_VERSION=master # Only run nightly against trunk. - php: nightly env: TRAVISCI_RUN=phpunit WP_VERSION=master allow_failures: - php: hhvm - php: nightly fast_finish: true before_script: # Define vars. - export WP_DEVELOP_DIR=/tmp/wordpress - export WP_CORE_DIR=/tmp/wordpress/src - export WP_CEPT_SERVER='localhost:8888' # Install WordPress - source travis.sh - install-wordpress # Start up a web server. - php -S "$WP_CEPT_SERVER" -t "$WP_CORE_DIR" & # Start up the webdriver. - phantomjs --webdriver=4444 & # Install Codeception and WP Browser. # Doing this last gives the webdriver and server time to start up. - composer install --prefer-source script: - vendor/bin/wpcept run # EOF
Use latest DITA-OT version (3.1) for CI builds
sudo: false language: java jdk: - oraclejdk8 env: global: - DITA_OT_VERSION=3.0.4 install: - ".travis/install.sh" script: - ".travis/publish.sh" after_success: - ".travis/deploy.sh"
sudo: false language: java jdk: - oraclejdk8 env: global: - DITA_OT_VERSION=3.1 install: - ".travis/install.sh" script: - ".travis/publish.sh" after_success: - ".travis/deploy.sh"
Add node 7 and 8 to Travis CI test matrix
language: node_js sudo: false node_js: - '6' - '5' - '4' - '4.2' env: - MAIN_RUN=true - MAIN_RUN=false && REACT_VERSION=0.14 before_install: - npm install -g npm@2 before_script: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start - if [[ $MAIN_RUN == false ]]; then npm install react-dom@^$REACT_VERSION react@^$REACT_VERSION; fi
language: node_js sudo: false node_js: - '8' - '7' - '6' - '5' - '4' - '4.2' env: - MAIN_RUN=true - MAIN_RUN=false && REACT_VERSION=0.14 before_install: - npm install -g npm@2 before_script: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start - if [[ $MAIN_RUN == false ]]; then npm install react-dom@^$REACT_VERSION react@^$REACT_VERSION; fi
Correct GitHub Pages deployed directory to 'dist'
branches: only: - gh-pages - /.*/ language: node_js node_js: - "node" - "8" - "6" - "4" addons: chrome: stable sudo: required before_script: - node_modules/gulp/bin/gulp.js startServer & - google-chrome-stable --headless --disable-gpu --remote-debugging-port=9222 & script: node_modules/gulp/bin/gulp.js deploy: provider: pages skip-cleanup: true github-token: $GITHUB_TOKEN keep-history: true on: branch: master
branches: only: - gh-pages - /.*/ language: node_js node_js: - "node" - "8" - "6" - "4" addons: chrome: stable sudo: required before_script: - node_modules/gulp/bin/gulp.js startServer & - google-chrome-stable --headless --disable-gpu --remote-debugging-port=9222 & script: node_modules/gulp/bin/gulp.js deploy: provider: pages skip-cleanup: true github-token: $GITHUB_TOKEN keep-history: true local-dir: "dist" on: branch: master
Remove reference to branch hugo
os: linux dist: focal language: generic branches: except: - hugo env: jobs: - LISP=sbcl - LISP=ccl - LISP=ecl - LISP=abcl - LISP=clisp - LISP=allegro # - LISP=sbcl32 # - lisp=ccl32 # - LISP=cmucl jobs: fast_finish: true allow_failures: - env: LISP=clisp - env: LISP=allegro # - env: LISP=sbcl32 # - env: LISP=ccl32 # - env: LISP=cmucl notifications: email: on_success: change on_failure: always irc: channels: - "chat.freenode.net#iolib" on_success: change on_failure: always use_notice: true skip_join: true install: - curl -L https://raw.githubusercontent.com/lispci/cl-travis/master/install.sh | sh script: - cl -e "(cl:in-package :cl-user) (prin1 (lisp-implementation-type)) (terpri) (prin1 (lisp-implementation-version)) (terpri) (ql:quickload :bordeaux-threads/test :verbose t) (5am:run! :bordeaux-threads) (uiop:quit (if (5am:run! :bordeaux-threads-2) 0 -1))"
os: linux dist: focal language: generic env: jobs: - LISP=sbcl - LISP=ccl - LISP=ecl - LISP=abcl - LISP=clisp - LISP=allegro # - LISP=sbcl32 # - lisp=ccl32 # - LISP=cmucl jobs: fast_finish: true allow_failures: - env: LISP=clisp - env: LISP=allegro # - env: LISP=sbcl32 # - env: LISP=ccl32 # - env: LISP=cmucl notifications: email: on_success: change on_failure: always irc: channels: - "chat.freenode.net#iolib" on_success: change on_failure: always use_notice: true skip_join: true install: - curl -L https://raw.githubusercontent.com/lispci/cl-travis/master/install.sh | sh script: - cl -e "(cl:in-package :cl-user) (prin1 (lisp-implementation-type)) (terpri) (prin1 (lisp-implementation-version)) (terpri) (ql:quickload :bordeaux-threads/test :verbose t) (5am:run! :bordeaux-threads) (uiop:quit (if (5am:run! :bordeaux-threads-2) 0 -1))"
Use pytest instead of codecov which can fail silently
language: python python: - "3.5" - "3.6" install: - pip install . - pip install codecov - export PYTHONPATH="." # No data is collected by `coverage` without this. branches: only: - master - develop script: - COVERAGE_FILE=.coverage_al coverage run tests/test_active_learning.py - COVERAGE_FILE=.coverage_s coverage run tests/test_stacking.py - COVERAGE_FILE=.coverage_te coverage run tests/test_target_encoding.py - coverage combine .coverage_al .coverage_s .coverage_te after_success: - codecov notifications: email: recipients: - nikolay.lysenko.1992@gmail.com on_success: never on_failure: always
language: python python: - "3.5" - "3.6" install: - pip install . - pip install pytest codecov pytest-cov - export PYTHONPATH="." # No data is collected by `coverage` without this. branches: only: - master - develop script: - python -m pytest --cov=dsawl --cov-config .coveragerc after_success: - codecov notifications: email: recipients: - nikolay.lysenko.1992@gmail.com on_success: never on_failure: always
Install numpy via pip as well.
language: python python: - "2.7" - "3.3" - "3.4" virtualenv: system_site_packages: true before_install: - sudo apt-get install -qq python-numpy libblas-dev liblapack-dev gfortran install: - "pip install ." - "pip install -r requirements.txt" script: nosetests
language: python python: - "2.7" - "3.3" - "3.4" before_install: - sudo apt-get install -qq libblas-dev liblapack-dev gfortran install: - "pip install -r requirements.txt" - "pip install ." script: nosetests
Revert "Trying to fix CI builds."
language: python python: 2.7 sudo: false cache: pip install: - pip install ansible script: - ansible-galaxy install --force -r requirements.yml -p vendor/roles - ansible-playbook --syntax-check -i hosts/development dev.yml --ask-vault-pass < $ANSIBLE_VAULT_KEY - ansible-playbook --syntax-check -i hosts/development server.yml --ask-vault-pass < $ANSIBLE_VAULT_KEY
language: python python: 2.7 sudo: false cache: pip install: - pip install ansible script: - ansible-galaxy install --force -r requirements.yml -p vendor/roles - ansible-playbook --syntax-check -i hosts/development dev.yml - ansible-playbook --syntax-check -i hosts/development server.yml
Add destination to Travis config
language: swift osx_image: xcode10.2 xcode_project: Advance.xcodeproj matrix: include: - xcode_scheme: Advance-iOS xcode_sdk: iphonesimulator12.2 - xcode_scheme: Advance-macOS xcode_sdk: macosx10.14 - xcode_scheme: Advance-tvOS xcode_sdk: appletvos12.2
language: swift osx_image: xcode10.2 xcode_project: Advance.xcodeproj matrix: include: - xcode_scheme: Advance-iOS xcode_sdk: iphonesimulator12.2 xcode_destination: platform=iOS Simulator,OS=12.2,name=iPhone Xs - xcode_scheme: Advance-macOS xcode_sdk: macosx10.14 - xcode_scheme: Advance-tvOS xcode_sdk: appletvos12.2 xcode_destination: platform=tvOS Simulator,OS=12.2,name=Apple TV 4K
Update Home Assistant to 0.90.2 for config checks in Travis CI
language: python python: - '3.5' - '3.6' env: - HASS=0.89.1 before_install: - mv secrets_dummy.yaml secrets.yaml install: - pip3 install homeassistant==$HASS script: - hass -c . --script check_config
language: python python: - '3.5' - '3.6' env: - HASS=0.90.2 before_install: - mv secrets_dummy.yaml secrets.yaml install: - pip3 install homeassistant==$HASS script: - hass -c . --script check_config
Install six since our setup.py depends on it.
language: python python: - 2.6 - 2.7 install: - python setup.py develop script: - python setup.py test --unit matrix: allow_failures: - python: 2.6
language: python python: - 2.6 - 2.7 install: - pip install six - python setup.py develop script: - python setup.py test --unit matrix: allow_failures: - python: 2.6
Remove Node.js 10 from Travis CI until uws will not release 10.x version
language: node_js cache: yarn node_js: - node - "9" - "8" - "6" - "4" install: - YARN_IGNORE_ENGINES=true yarn
language: node_js cache: yarn node_js: - "9" - "8" - "6" - "4" install: - YARN_IGNORE_ENGINES=true yarn
Allow failures in Rails 5 / Ruby 9000 for now
language: ruby services: mongodb env: - DATABASE=sqlite3 - DATABASE=sqlite3mem - DATABASE=postgresql - DATABASE=mysql rvm: - 1.9.3 - 2.0.0 - 2.1.9 - 2.2.5 - 2.3.1 - jruby-19mode - jruby-9.0.5.0 - rbx-2 gemfile: - gemfiles/rails_3.2.gemfile - gemfiles/rails_4.0.gemfile - gemfiles/rails_4.1.gemfile - gemfiles/rails_4.2.gemfile - gemfiles/rails_5.0.gemfile matrix: exclude: - rvm: 1.9.3 gemfile: gemfiles/rails_5.0.gemfile - rvm: jruby-19mode gemfile: gemfiles/rails_5.0.gemfile - rvm: 2.0.0 gemfile: gemfiles/rails_5.0.gemfile - rvm: 2.1.9 gemfile: gemfiles/rails_5.0.gemfile - rvm: 2.2.5 gemfile: gemfiles/rails_3.2.gemfile - rvm: 2.3.1 gemfile: gemfiles/rails_3.2.gemfile allow_failures: - rvm: rbx-2 sudo: false cache: bundler
language: ruby services: mongodb env: - DATABASE=sqlite3 - DATABASE=sqlite3mem - DATABASE=postgresql - DATABASE=mysql rvm: - 1.9.3 - 2.0.0 - 2.1.9 - 2.2.5 - 2.3.1 - jruby-19mode - jruby-9.0.5.0 - rbx-2 gemfile: - gemfiles/rails_3.2.gemfile - gemfiles/rails_4.0.gemfile - gemfiles/rails_4.1.gemfile - gemfiles/rails_4.2.gemfile - gemfiles/rails_5.0.gemfile matrix: exclude: - rvm: 1.9.3 gemfile: gemfiles/rails_5.0.gemfile - rvm: jruby-19mode gemfile: gemfiles/rails_5.0.gemfile - rvm: 2.0.0 gemfile: gemfiles/rails_5.0.gemfile - rvm: 2.1.9 gemfile: gemfiles/rails_5.0.gemfile - rvm: 2.2.5 gemfile: gemfiles/rails_3.2.gemfile - rvm: 2.3.1 gemfile: gemfiles/rails_3.2.gemfile allow_failures: - rvm: rbx-2 - rvm: jruby-9.0.5.0 gemfile: gemfiles/rails_5.0.gemfile sudo: false cache: bundler
Remove workaround for Travis CI
language: ruby cache: bundler sudo: false services: - mysql rvm: - 2.3.6 - 2.4.3 - 2.5.0 - ruby-head gemfile: - gemfiles/activerecord_4_2.gemfile - gemfiles/activerecord_5_0.gemfile - gemfiles/activerecord_5_1.gemfile # NOTE: travis build fails on bundler v1.16.1 && rubygems v2.7.3. # Update travis's rubygems to v2.7.4. before_install: - gem update --system before_script: - cp spec/database.yml.travis spec/database.yml - mysql -e 'create database shibaraku_test;' matrix: allow_failures: # NOTE: There are unstable versions - rvm: ruby-head
language: ruby cache: bundler sudo: false services: - mysql rvm: - 2.3.6 - 2.4.3 - 2.5.0 - ruby-head gemfile: - gemfiles/activerecord_4_2.gemfile - gemfiles/activerecord_5_0.gemfile - gemfiles/activerecord_5_1.gemfile before_script: - cp spec/database.yml.travis spec/database.yml - mysql -e 'create database shibaraku_test;' matrix: allow_failures: # NOTE: There are unstable versions - rvm: ruby-head
Change Travis CI time zone
language: python python: - 2.6 - 2.7 - 3.2 - 3.3 - pypy env: - TIMEZONE=UTC install: - pip install nose - pip install coverage - pip install mock - pip install . script: nosetests -q tests
language: python python: - 2.6 - 2.7 - 3.2 - 3.3 - pypy env: - TIMEZONE=Etc/UTC install: - pip install nose - pip install coverage - pip install mock - pip install . script: nosetests -q tests
Add GH_TOKEN for pushing to astrifex.github.io
language: node_js node_js: - 0.10 sudo: false cache: directories: - bower_components - node_modules install: - npm install - npm install -g bower broccoli-cli karma-cli - bower install --config.interactive=false script: - BROCCOLI_ENV=production broccoli build release - npm test after_success: .travis/after_success
language: node_js node_js: - 0.10 sudo: false cache: directories: - bower_components - node_modules env: global: secure: "d9Lws27Y4WkxV3PlRbACsBj2JIJNw5sNbDe0VZRXlQKFyWt3WO2gAR/+P+/dTnFu8XwD15XC7KL6BLPh2IFAv3YWK2Se/xGSsHSWgP8k+PVTn9t8Rs4Q0IcF3aJ8tzdqN0cY14+9yRN2w7HpJQripCjnZHIgbkgA3/rATtxbhG0=" install: - npm install - npm install -g bower broccoli-cli karma-cli - bower install --config.interactive=false script: - BROCCOLI_ENV=production broccoli build release - npm test after_success: .travis/after_success
Set TERM=dumb for Travis CI
language: java install: mvn install -DskipTests -DbuildNumber="${TRAVIS_BUILD_NUMBER}" -DrevisionNumber="${TRAVIS_COMMIT}" script: mvn test -DbuildNumber="${TRAVIS_BUILD_NUMBER}" -DrevisionNumber="${TRAVIS_COMMIT}" after_success: - mvn clean cobertura:cobertura coveralls:cobertura
language: java env: - TERM=dumb install: mvn install -DskipTests -DbuildNumber="${TRAVIS_BUILD_NUMBER}" -DrevisionNumber="${TRAVIS_COMMIT}" script: mvn test -DbuildNumber="${TRAVIS_BUILD_NUMBER}" -DrevisionNumber="${TRAVIS_COMMIT}" after_success: - mvn clean cobertura:cobertura coveralls:cobertura
Stop testing against Puppet < 3.8
language: ruby rvm: - 1.8.7 - 2.0.0 script: "bundle exec rake spec" branches: only: - master - /^issues\/.*$/ notifications: email: - arusso@berkeley.edu env: - PUPPET_VERSION="~> 2.7.0" - PUPPET_VERSION="~> 3.5.0" - PUPPET_VERSION="~> 3.6.0" - PUPPET_VERSION="~> 3.7.0" - PUPPET_VERSION="~> 3.7.0" FUTURE_PARSER="yes" matrix: exclude: - rvm: 2.0.0 env: PUPPET_VERSION="~> 2.7.0"
language: ruby rvm: - 1.8.7 - 2.0.0 script: "bundle exec rake spec" branches: only: - master - /^issues\/.*$/ notifications: email: - arusso@berkeley.edu env: - PUPPET_VERSION="~> 3.8.0" - PUPPET_VERSION="~> 3.8.0" FUTURE_PARSER="yes"
Add go version 1.13 and drop tip due to time-consuming
language: go go: - 1.11 - 1.12 - tip script: - ./test-coverage.sh after_success: - bash <(curl -s https://codecov.io/bash)
language: go go: - 1.11 - 1.12 - 1.13 script: - ./test-coverage.sh after_success: - bash <(curl -s https://codecov.io/bash)
Reduce the size of the git repository downloaded during TravisCI testing.
language: java jdk: - openjdk7 - oraclejdk7 install: - gem install bundler - bundle install script: buildr clean package
language: java jdk: - openjdk7 - oraclejdk7 install: - gem install bundler - bundle install script: buildr clean package git: depth: 10
Use host addon and set `dist:precise` to avoid Travis CI failure
language: java jdk: - openjdk7 - oraclejdk7 - oraclejdk8 script: - ./gradlew test after_success: - ./gradlew jacocoTestReport coveralls
dist: precise language: java jdk: - openjdk7 - oraclejdk7 - oraclejdk8 script: - ./gradlew test after_success: - ./gradlew jacocoTestReport coveralls addons: hosts: - example.com hostname: example.com
Test php build on Trusty
language: php sudo: false dist: trusty cache: directories: - $HOME/.composer/cache php: - 5.6 - 7.0 - 7.1 - hhvm install: #- sudo apt-get install openssl - composer install # PHPUnit - if [[ ${TRAVIS_PHP_VERSION:0:3} == "5.6" ]]; then composer require phpunit/phpunit 5.7.*; fi - if [[ ${TRAVIS_PHP_VERSION:0:3} == "7.0" ]]; then composer require phpunit/phpunit 5.7.*; fi - if [[ ${TRAVIS_PHP_VERSION:0:3} == "7.1" ]]; then composer require phpunit/phpunit 6.1.*; fi - if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then ./vendor/bin/phpunit --version; fi - if [ "$TRAVIS_PHP_VERSION" == "hhvm" ]; then phpunit --version; fi script: # Run PHP unit tests - if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then ./vendor/bin/phpunit -c test/Unit/phpunit.xml.dist; fi - if [ "$TRAVIS_PHP_VERSION" == "hhvm" ]; then phpunit -c test/Unit/phpunit.xml.dist; fi after_script: ## Code climate - if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then ./vendor/bin/test-reporter; fi
language: php sudo: false dist: trusty cache: directories: - $HOME/.composer/cache php: - 5.6 - 7.0 - 7.1 - hhvm install: - composer install --prefer-source --no-interaction # PHPUnit - if [[ ${TRAVIS_PHP_VERSION:0:3} == "5.6" ]]; then composer require phpunit/phpunit 5.7.*; fi - if [[ ${TRAVIS_PHP_VERSION:0:3} == "7.0" ]]; then composer require phpunit/phpunit 5.7.*; fi - if [[ ${TRAVIS_PHP_VERSION:0:3} == "7.1" ]]; then composer require phpunit/phpunit 6.1.*; fi - if [[ ${TRAVIS_PHP_VERSION:0:3} == "hhvm" ]]; then composer require phpunit/phpunit; fi - ./vendor/bin/phpunit --version script: # Run PHP unit tests - if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then ./vendor/bin/phpunit -c test/Unit/phpunit.xml.dist; fi - if [ "$TRAVIS_PHP_VERSION" == "hhvm" ]; then phpunit -c test/Unit/phpunit.xml.dist; fi after_script: ## Code climate - if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then ./vendor/bin/test-reporter; fi
Set up Travis CI to run on all versions 1.* of Ansible
language: python install: - pip install ansible - sudo apt-get install supervisor script: # Check the role syntax - ansible-playbook --inventory='localhost,' tests/test.yml --syntax-check # Check that the role can run with no errors/failures - ansible-playbook --inventory='localhost,' tests/test.yml --connection=local # Check idempotence of the role by running it twice and making sure there are # no changed/failed tasks - > ansible-playbook --inventory='localhost,' tests/test.yml --connection=local | grep -q 'changed=0.*failed=0' && (echo 'Idempotence test: pass' && exit 0) || (echo 'Idempotence test: fail' && exit 1) sudo: required
language: python env: - ANSIBLE_VERSION="1.0.*" - ANSIBLE_VERSION="1.1.*" - ANSIBLE_VERSION="1.2.*" - ANSIBLE_VERSION="1.3.*" - ANSIBLE_VERSION="1.4.*" - ANSIBLE_VERSION="1.5.*" - ANSIBLE_VERSION="1.6.*" - ANSIBLE_VERSION="1.7.*" - ANSIBLE_VERSION="1.8.*" - ANSIBLE_VERSION="1.9.*" install: - pip install ansible==$ANSIBLE_VERSION - sudo apt-get install supervisor script: # Check the role syntax - ansible-playbook --inventory='localhost,' tests/test.yml --syntax-check # Check that the role can run with no errors/failures - ansible-playbook --inventory='localhost,' tests/test.yml --connection=local # Check idempotence of the role by running it twice and making sure there are # no changed/failed tasks - > ansible-playbook --inventory='localhost,' tests/test.yml --connection=local | grep -q 'changed=0.*failed=0' && (echo 'Idempotence test: pass' && exit 0) || (echo 'Idempotence test: fail' && exit 1) sudo: required
Add before_install step to Travis builds.
language: ruby rvm: - 2.0.0 - 2.1.1 - jruby-head
language: ruby rvm: - 2.0.0 - 2.1.1 - jruby-head before_install: - sudo apt-get update && sudo apt-get install -y lame sox libsox-fmt-mp3 zip
Raise msi of mutation tests to 98
language: php php: - '7.3' - '7.4' - nightly before_install: - composer self-update install: - if [[ "$(phpenv version-name)" == "nightly" ]]; then composer update --ignore-platform-reqs; else composer install --dev --prefer-source; fi; script: - vendor/bin/phpunit - vendor/bin/phpstan analyse - vendor/bin/psalm - phpdbg -qrr vendor/bin/infection --min-msi=95 --no-progress --threads=5 matrix: fast_finish: true allow_failures: - php: nightly
language: php php: - '7.3' - '7.4' - nightly before_install: - composer self-update install: - if [[ "$(phpenv version-name)" == "nightly" ]]; then composer update --ignore-platform-reqs; else composer install --dev --prefer-source; fi; script: - vendor/bin/phpunit - vendor/bin/phpstan analyse - vendor/bin/psalm - phpdbg -qrr vendor/bin/infection --min-msi=98 --no-progress --threads=5 matrix: fast_finish: true allow_failures: - php: nightly
Drop node.js 11 support, add 12
language: node_js node_js: - '8' - '10' - '11' script: 'npm run ci' after_success: '<coverage/lcov.info ./node_modules/coveralls/bin/coveralls.js'
language: node_js node_js: - '8' - '10' - '12' script: 'npm run ci' after_success: '<coverage/lcov.info ./node_modules/coveralls/bin/coveralls.js'
Move "cache" section below "language"
sudo: false cache: directories: $HOME/.npm $HOME/.cache # includes bowers cache language: node_js node_js: - "0.10" - "0.12" - "4" - "5" - node os: - linux before_install: - curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.29.0/install.sh | bash - test $TRAVIS_OS_NAME = "osx" && brew update && brew install phantomjs || test $TRAVIS_OS_NAME = "linux" - npm config set spin false install: - node --version - npm --version - git --version - npm install --no-optional script: npm run-script test-all:cover after_script: - npm install coveralls codeclimate-test-reporter - cat coverage/lcov.info | codeclimate - cat coverage/lcov.info | node_modules/coveralls/bin/coveralls.js
sudo: false language: node_js node_js: - "0.10" - "0.12" - "4" - "5" - node cache: directories: $HOME/.npm $HOME/.cache # includes bowers cache os: - linux before_install: - curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.29.0/install.sh | bash - test $TRAVIS_OS_NAME = "osx" && brew update && brew install phantomjs || test $TRAVIS_OS_NAME = "linux" - npm config set spin false install: - node --version - npm --version - git --version - npm install --no-optional script: npm run-script test-all:cover after_script: - npm install coveralls codeclimate-test-reporter - cat coverage/lcov.info | codeclimate - cat coverage/lcov.info | node_modules/coveralls/bin/coveralls.js
Drop deprecated --use-mirrors option for pip
language: python sudo: false python: - 2.6 - 2.7 - 3.2 - 3.3 - "pypy" install: - pip install pep8 --use-mirrors script: - pep8 - py.test --doctest-modules --color no mpmath notifications: email: false
language: python sudo: false python: - 2.6 - 2.7 - 3.2 - 3.3 - "pypy" install: - pip install pep8 script: - pep8 - py.test --doctest-modules --color no mpmath notifications: email: false
Fix error in BUILD_TYPE check to run Coveralls in Travis script.
language: cpp compiler: - gcc - clang env: - BUILD_TYPE=Debug - BUILD_TYPE=Release install: - sudo pip install cpp-coveralls --use-mirrors before_script: - mkdir build && cd build - cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DBUILD_TESTS=on -DBUILD_TESTS_WITH_EIGEN=on .. script: - make && ctest -V after_success: - if [ "${BUILD_TYPE}" != "Debug" ]; then coveralls --root .. -E ".*external.*" -E ".*CMakeFiles.*"; fi
language: cpp compiler: - gcc - clang env: - BUILD_TYPE=Debug - BUILD_TYPE=Release install: - sudo pip install cpp-coveralls --use-mirrors before_script: - mkdir build && cd build - cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DBUILD_TESTS=on -DBUILD_TESTS_WITH_EIGEN=on .. script: - make && ctest -V after_success: - if [ "${BUILD_TYPE}" == "Debug" ]; then coveralls --root .. -E ".*external.*" -E ".*CMakeFiles.*" -E ".*test/.*.cpp.*"; fi
Add user back to varnish group
dist: trusty language: go go: - 1.6 - 1.7 - 1.8 env: - VER=4.1 - VER=5.0 - VER=5.1 before_install: - curl -s https://packagecloud.io/install/repositories/varnishcache/varnish${VER/./}/script.deb.sh | sudo bash - sudo apt-get install varnish=${VER}.* varnish-dev=${VER}.* script: - sudo -E su $USER -c "$(which go) test -v"
dist: trusty language: go go: - 1.6 - 1.7 - 1.8 env: - VER=4.1 - VER=5.0 - VER=5.1 before_install: - curl -s https://packagecloud.io/install/repositories/varnishcache/varnish${VER/./}/script.deb.sh | sudo bash - sudo apt-get install varnish=${VER}.* varnish-dev=${VER}.* - sudo usermod -a -G varnish $USER script: - sudo -E su $USER -c "$(which go) test -v"