doc_id
stringlengths
36
36
metadata
dict
input
stringlengths
28
4.3k
output
stringlengths
11
5.45k
82be0e4e-f9f5-4025-bd40-d020519824a9
{ "language": "YAML" }
```yaml language: java jdk: - openjdk11 install: - mvn -N io.takari:maven:wrapper -Dmaven=3.3.9 - ./mvnw install -DskipTests=true -Dmaven.javadoc.skip=true -B -V notifications: email: recipients: - travis-ci.eclipse-augments@hohenegger.eu on_success: change on_failure: always ``` Remove deprecated Maven version workaround.
```yaml language: java jdk: - openjdk11 notifications: email: recipients: - travis-ci.eclipse-augments@hohenegger.eu on_success: change on_failure: always ```
b772dd5d-b946-4371-bf8e-263f1715ac05
{ "language": "YAML" }
```yaml language: ruby rvm: - ruby-1.9.3 - ruby-2.0.0 - ruby-2.1.4 - ruby-2.2-head - jruby - rbx-2.4.1 - rbx-2.5.2 before_install: gem install bundler -v 1.10.5 ``` Update TravisCI version to latest
```yaml language: ruby rvm: - ruby-1.9.3 - ruby-2.0.0 - ruby-2.1.5 - ruby-2.2.1 - jruby - rbx-2.4.1 - rbx-2.5.2 before_install: gem install bundler -v 1.10.5 ```
806879ab-ae8a-491d-be97-12638c735632
{ "language": "YAML" }
```yaml # Configuration file to run tests on Travis-CI via GitHub notifications # See http://travis-ci.org/ language: python python: # No skiptest in 2.6 so ignore for now # - "2.6" - "2.7" install: - "pip install ." script: # Run the unit tests for bcftbx - "python setup.py test" ``` Add test script for best_exons.py to the Travis testing.
```yaml # Configuration file to run tests on Travis-CI via GitHub notifications # See http://travis-ci.org/ language: python python: # No skiptest in 2.6 so ignore for now # - "2.6" - "2.7" install: - "pip install ." script: # Run the unit tests for bcftbx - "python setup.py test" # Run the best_exons example - "cd microarray/examples/" - ./test_best_exons.sh ```
b7c8c859-9991-4603-938b-71321bdf015e
{ "language": "YAML" }
```yaml language: python python: - 2.6 - 2.7 - 3.2 - 3.3 - 3.4 - pypy install: - if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install unittest2 ordereddict; fi - python setup.py -q install script: - py.test tests ``` Build more important python versions first.
```yaml language: python python: - 3.6 - 2.7 - 3.5 - 3.4 - 3.3 - 3.2 - 2.6 - pypy install: - if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install unittest2 ordereddict; fi - python setup.py -q install - pip install -U pytest script: - py.test tests ```
f10049bf-782c-4b8a-983b-162ece025bf5
{ "language": "YAML" }
```yaml language: python python: 3.4 cache: pip script: python manage.py test sudo: false notifications: slack: djangogirls:f5ZWSNUTwKp1C8L8rr3PYjg7 cache: directories: - $HOME/virtualenv addons: postgresql: "9.3" services: - postgresql before_script: - psql -c 'create database djangogirls;' -U postgres ``` Set COVERAGE=TRUE for Travis build
```yaml language: python python: 3.4 cache: pip script: python manage.py test sudo: false notifications: slack: djangogirls:f5ZWSNUTwKp1C8L8rr3PYjg7 cache: directories: - $HOME/virtualenv addons: postgresql: "9.3" services: - postgresql env: - COVERAGE=TRUE before_script: - psql -c 'create database djangogirls;' -U postgres ```
ae584796-96f2-4e0d-928d-cd6444c2ed78
{ "language": "YAML" }
```yaml --- language: ruby dist: trusty before_install: - gem install bundler - export CXX="g++-4.8" addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-4.8 - pandoc rvm: - 2.3.8 - 2.4.9 - 2.5.7 - 2.6.5 - ruby-head - rbx-3 - jruby-9.2.11.0 - jruby-head script: ./.travis.sh matrix: allow_failures: - rvm: ruby-head - rvm: jruby-head - rvm: rbx-3 notifications: slack: secure: 6E+GuZId5GcVLgiOKZnE9ZAnJTa+K2Fxqb0KfrECtskviylcPF1OmX36+y7xGUS0P0pGNyWQThe0zCBMpszno/KbvUdIs6jXbOImkFMuo65//4YcivK0rVaYh9uh2S1K3ycaDeUPDf0ulc/AwHnxWGR6yBD2N5idTwt1bsULdy0= ``` Add Ruby 2.7 to build matrix
```yaml --- language: ruby dist: trusty before_install: - gem install bundler - export CXX="g++-4.8" addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-4.8 - pandoc rvm: - 2.3.8 - 2.4.9 - 2.5.7 - 2.6.5 - 2.7.0 - ruby-head - rbx-3 - jruby-9.2.11.0 - jruby-head script: ./.travis.sh matrix: allow_failures: - rvm: 2.7.0 - rvm: ruby-head - rvm: jruby-head - rvm: rbx-3 notifications: slack: secure: 6E+GuZId5GcVLgiOKZnE9ZAnJTa+K2Fxqb0KfrECtskviylcPF1OmX36+y7xGUS0P0pGNyWQThe0zCBMpszno/KbvUdIs6jXbOImkFMuo65//4YcivK0rVaYh9uh2S1K3ycaDeUPDf0ulc/AwHnxWGR6yBD2N5idTwt1bsULdy0= ```
f9c041d8-6392-4342-8eea-5f7e38db41a1
{ "language": "YAML" }
```yaml language: python sudo: false cache: pip python: - '3.6' env: matrix: - TOXENV=qa - DJANGO=111 - DJANGO=20 - DJANGO=master matrix: fast_finish: true allow_failures: - env: DJANGO=master install: - pip install --upgrade pip tox - pip install -U coveralls before_script: - | if [[ -z $TOXENV ]]; then export TOXENV=py$(echo $TRAVIS_PYTHON_VERSION | sed -e 's/\.//g')-dj$DJANGO fi - echo $TOXENV script: - tox -e $TOXENV after_success: - coveralls deploy: provider: pypi user: codingjoe password: secure: jJyadofJm7F1Qco+EDCyN/aMZaYSbfQ0GAE02Bx7I499MkjPYvv38X2btg+PjdW3rzGD0d/kq24lfWLkgKncyQ/YMgLQ7H/GuCCHHYbKUklxllaoFXActBjstmKOvXyWWC5oEb+YEJ4HTwgkvS6wkp69B7C1d4BAOqGs5IKnCSo= on: tags: true distributions: sdist bdist_wheel repo: KristianOellegaard/django-health-check branch: master ``` Switch to CodeCov for coverage tracking
```yaml language: python sudo: false cache: pip python: - '3.6' env: matrix: - TOXENV=qa - DJANGO=111 - DJANGO=20 - DJANGO=master matrix: fast_finish: true allow_failures: - env: DJANGO=master install: - pip install --upgrade codecov tox before_script: - | if [[ -z $TOXENV ]]; then export TOXENV=py$(echo $TRAVIS_PYTHON_VERSION | sed -e 's/\.//g')-dj$DJANGO fi - echo $TOXENV script: - tox -e $TOXENV after_success: - codecov deploy: provider: pypi user: codingjoe password: secure: jJyadofJm7F1Qco+EDCyN/aMZaYSbfQ0GAE02Bx7I499MkjPYvv38X2btg+PjdW3rzGD0d/kq24lfWLkgKncyQ/YMgLQ7H/GuCCHHYbKUklxllaoFXActBjstmKOvXyWWC5oEb+YEJ4HTwgkvS6wkp69B7C1d4BAOqGs5IKnCSo= on: tags: true distributions: sdist bdist_wheel repo: KristianOellegaard/django-health-check branch: master ```
0999df63-d0fe-4534-972d-7773f650f95d
{ "language": "YAML" }
```yaml language: cpp sudo: required compiler: - clang - gcc env: global: - secure: "SnIBG/xLIHX3CSvUbqqsX8xTVqIqQ7fFS6HWO6KZQVBsT6yugTwYHbyhNiU531JejYJ/I3ZrDhXfYH3qFZiYxnH1sifvwV+fnTtMXpPN7qPZwIymkjcmm6gJF51e0C7VOfUbvKFv0ngwj+ul21rgZSMuoEvxPK0WxtE3/ZSfn9c=" - "APT_DEPENDENCIES=doxygen doxygen-latex libboost-all-dev libeigen3-dev liblapack-dev libblas-dev gfortran python-dev python-sphinx" - DEBSIGN_KEYID=5AE5CD75 notifications: email: - hpp-source@laas.fr branches: only: - master - debian - topic/travis matrix: allow_failures: - compiler: clang script: ./.travis/run ./travis_custom/custom_build after_success: ./travis/run after_success after_failure: ./.travis/run after_failure before_install: ./travis_custom/custom_before_install``` Correct indirect call to custom_build
```yaml language: cpp sudo: required compiler: - clang - gcc env: global: - secure: "SnIBG/xLIHX3CSvUbqqsX8xTVqIqQ7fFS6HWO6KZQVBsT6yugTwYHbyhNiU531JejYJ/I3ZrDhXfYH3qFZiYxnH1sifvwV+fnTtMXpPN7qPZwIymkjcmm6gJF51e0C7VOfUbvKFv0ngwj+ul21rgZSMuoEvxPK0WxtE3/ZSfn9c=" - "APT_DEPENDENCIES=doxygen doxygen-latex libboost-all-dev libeigen3-dev liblapack-dev libblas-dev gfortran python-dev python-sphinx" - DEBSIGN_KEYID=5AE5CD75 notifications: email: - hpp-source@laas.fr branches: only: - master - debian - topic/travis matrix: allow_failures: - compiler: clang script: ./.travis/run ../travis_custom/custom_build after_success: ./travis/run after_success after_failure: ./.travis/run after_failure before_install: ./travis_custom/custom_before_install```
20c81b83-9247-4629-b2a7-cfbfee39e499
{ "language": "YAML" }
```yaml language: python python: - "2.7" - "3.3" install: - pip install coveralls --use-mirrors script: py.test test_schedule.py --pep8 coveralls -v --cov coveralls --cov-report term-missing after_success: - coveralls ``` Fix py.test command to generate coverage data.
```yaml language: python python: - "2.7" - "3.3" install: - pip install pytest-cov --use-mirrors - pip install pytest-pep8 --use-mirrors - pip install coveralls --use-mirrors script: py.test test_schedule.py --pep8 schedule -v --cov schedule --cov-report term-missing after_success: - coveralls ```
989c454c-05c3-4382-88c1-f5e7e41c43a9
{ "language": "YAML" }
```yaml --- language: ruby bundler_args: --without development script: "bundle exec rake validate && bundle exec rake lint && bundle exec rake spec SPEC_OPTS='--format documentation'" matrix: fast_finish: true include: - rvm: 1.8.7 env: PUPPET_GEM_VERSION="~> 3.0" - rvm: 1.9.3 env: PUPPET_GEM_VERSION="~> 3.0" - rvm: 2.0.0 env: PUPPET_GEM_VERSION="~> 3.0" notifications: email: false ``` Use modulesync to manage meta files
```yaml --- language: ruby bundler_args: --without development script: "bundle exec rake validate && bundle exec rake lint && bundle exec rake spec SPEC_OPTS='--format documentation'" matrix: fast_finish: true include: - rvm: 1.8.7 env: PUPPET_GEM_VERSION="~> 2.7" - rvm: 1.8.7 env: PUPPET_GEM_VERSION="~> 3.0" - rvm: 1.9.3 env: PUPPET_GEM_VERSION="~> 3.0" - rvm: 2.0.0 env: PUPPET_GEM_VERSION="~> 3.0" notifications: email: false ```
96093829-913c-48aa-b100-658da5334cec
{ "language": "YAML" }
```yaml language: node_js node_js: - '5' - '4' ``` Test all major recent node versions
```yaml language: node_js node_js: - '10' - '8' - '6' - '4' ```
be9ce081-cb45-4812-ad78-59c5e5bc7645
{ "language": "YAML" }
```yaml language: python python: - "3.3" - "3.4" - "3.5" install: "pip install -r requirements.txt" script: py.test ``` Fix failing tests in Travis
```yaml language: python python: - "3.3" - "3.4" - "3.5" install: "pip install -r requirements.txt" before_script: export PYTHONPATH=$PYTHONPATH:$(pwd) script: py.test ```
0dbf2366-3d66-48d8-a015-8590eedc1a69
{ "language": "YAML" }
```yaml language: python python: - "2.6" - "2.7" virtualenv: system_site_packages: true # command to prepare the system to install prerequisites or dependencies before_install: - sudo apt-get -qq update - sudo apt-get install -qq libhdf5-serial-dev python-h5py - sudo apt-get install -qq libatlas-dev libatlas-base-dev gfortran - sudo apt-get install -qq python-numpy python-scipy python-matplotlib - sudo apt-get install -qq python-gst0.10 gstreamer0.10-plugins-good gstreamer0.10-gnonlin gstreamer0.10-plugins-ugly # command to install dependencies #install: # - "pip install -r requirements.txt --use-mirrors" - python setup.py install # command to run tests script: - py.test tests --ignore tests/sandbox # - "python setup.py test" ``` Add gstreamer-plugins-bad dependency in Travis
```yaml language: python python: - "2.6" - "2.7" virtualenv: system_site_packages: true # command to prepare the system to install prerequisites or dependencies before_install: - sudo apt-get -qq update - sudo apt-get install -qq libhdf5-serial-dev python-h5py - sudo apt-get install -qq libatlas-dev libatlas-base-dev gfortran - sudo apt-get install -qq python-numpy python-scipy python-matplotlib - sudo apt-get install -qq python-gst0.10 gstreamer0.10-plugins-good gstreamer0.10-gnonlin gstreamer0.10-plugins-ugly gstreamer0.10-plugins-bad # command to install dependencies #install: # - "pip install -r requirements.txt --use-mirrors" - python setup.py install # command to run tests script: - py.test tests --ignore tests/sandbox # - "python setup.py test" ```
ff1ea545-9fd6-4166-a8dc-bf6deb57291e
{ "language": "YAML" }
```yaml --- - name: Install zplug command: curl -sL --proto-redir -all,https https://zplug.sh/installer | zsh - name: Create local directories file: path="{{ ansible_env.HOME | join('/workspace/git') }}" state=directory - name: Restore dotfiles with Mackup command: mackup restore ``` Clone repo instead of running their installer
```yaml --- - name: Install zplug git: repo=https://github.com/zplug/zplug dest=~/zplug - name: Create local directories file: path="{{ ansible_env.HOME | join('/workspace/git') }}" state=directory - name: Restore dotfiles with Mackup command: mackup restore ```
86b16384-d84e-419d-921b-130c790e990e
{ "language": "YAML" }
```yaml sudo: false dist: trusty language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1 - 2.2 before_install: - gem install bundler -v 1.17.3 - | # cached install of Neo4j locally: if [ ! -d neo4j-community-2.3.3/bin ]; then wget dist.neo4j.org/neo4j-community-2.3.3-unix.tar.gz; tar -xzf neo4j-community-2.3.3-unix.tar.gz; sed -i.bak s/dbms.security.auth_enabled=true/dbms.security.auth_enabled=false/g neo4j-community-2.3.3/conf/neo4j-server.properties; fi before_script: - neo4j-community-2.3.3/bin/neo4j start - bin/setup services: - redis-server - mongodb cache: bundler: true directories: - neo4j-community-2.3.3 ``` Drop unused sudo: false directive
```yaml dist: trusty language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1 - 2.2 before_install: - gem install bundler -v 1.17.3 - | # cached install of Neo4j locally: if [ ! -d neo4j-community-2.3.3/bin ]; then wget dist.neo4j.org/neo4j-community-2.3.3-unix.tar.gz; tar -xzf neo4j-community-2.3.3-unix.tar.gz; sed -i.bak s/dbms.security.auth_enabled=true/dbms.security.auth_enabled=false/g neo4j-community-2.3.3/conf/neo4j-server.properties; fi before_script: - neo4j-community-2.3.3/bin/neo4j start - bin/setup services: - redis-server - mongodb cache: bundler: true directories: - neo4j-community-2.3.3 ```
f668da9d-1f30-4683-a7ee-94cc378f995d
{ "language": "YAML" }
```yaml language: php php: [5.3, 5.4, 5.5, 5.6, hhvm, hhvm-nightly] matrix: include: - php: 5.3.3 env: DEPENDENCIES='low' - php: 5.6 env: DEPENDENCIES='dev' allow_failures: - php: hhvm-nightly - env: DEPENDENCIES='dev' fast_finish: true sudo: false cache: directories: - $HOME/.composer/cache before_install: - composer selfupdate install: - export COMPOSER_ROOT_VERSION=dev-master - if [ "$DEPENDENCIES" == "dev" ]; then perl -pi -e 's/^}$/,"minimum-stability":"dev"}/' composer.json; fi; - if [ "$DEPENDENCIES" != "low" ]; then composer update; fi; - if [ "$DEPENDENCIES" == "low" ]; then composer update --prefer-lowest; fi; script: - sh -c 'if [ "$TRAVIS_PHP_VERSION" = "hhvm" -o "$TRAVIS_PHP_VERSION" = "hhvm-nightly" ]; then hhvm -d hhvm.libxml.ext_entity_whitelist=file bin/phpspec run; else bin/phpspec run; fi;' - sh -c 'if [ "$TRAVIS_PHP_VERSION" = "hhvm" -o "$TRAVIS_PHP_VERSION" = "hhvm-nightly" ]; then hhvm -d hhvm.libxml.ext_entity_whitelist=file ./vendor/behat/behat/bin/behat --format=pretty; else ./vendor/bin/behat --format=pretty; fi;' ``` Remove config that was fixing an old HHVM issue
```yaml language: php php: [5.3, 5.4, 5.5, 5.6, hhvm, hhvm-nightly] matrix: include: - php: 5.3.3 env: DEPENDENCIES='low' - php: 5.6 env: DEPENDENCIES='dev' allow_failures: - php: hhvm-nightly - env: DEPENDENCIES='dev' fast_finish: true sudo: false cache: directories: - $HOME/.composer/cache before_install: - composer selfupdate install: - export COMPOSER_ROOT_VERSION=dev-master - if [ "$DEPENDENCIES" == "dev" ]; then perl -pi -e 's/^}$/,"minimum-stability":"dev"}/' composer.json; fi; - if [ "$DEPENDENCIES" != "low" ]; then composer update; fi; - if [ "$DEPENDENCIES" == "low" ]; then composer update --prefer-lowest; fi; script: - bin/phpspec run --format=pretty - ./vendor/behat/behat/bin/behat --format=pretty ```
6dbdf0bd-6c81-4233-af2b-9721550de65b
{ "language": "YAML" }
```yaml language: python python: - "2.6" - "2.7" sudo: false env: - DJANGO=1.5.12 TEST_DATABASE_NAME=serrano TEST_DATABASE_USER=postgres - DJANGO=1.6.10 TEST_DATABASE_NAME=serrano TEST_DATABASE_USER=postgres - DJANGO=1.7.10 TEST_DATABASE_NAME=serrano TEST_DATABASE_USER=postgres addons: postgresql: "9.3" services: - memcached - redis-server before_install: - bash bin/check_signoff.sh - pip install -q flake8 - flake8 install: - pip install -q coverage Django==$DJANGO - pip install -q -r requirements.txt - "if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install --use-mirrors ordereddict importlib; fi" before_script: - psql -U postgres -c 'CREATE DATABASE serrano;' script: - coverage run test_suite.py after_success: - pip install -q coveralls - coveralls ``` Use flake8 2.6.x for Python 2.6 support
```yaml language: python python: - "2.6" - "2.7" sudo: false env: - DJANGO=1.5.12 TEST_DATABASE_NAME=serrano TEST_DATABASE_USER=postgres - DJANGO=1.6.10 TEST_DATABASE_NAME=serrano TEST_DATABASE_USER=postgres - DJANGO=1.7.10 TEST_DATABASE_NAME=serrano TEST_DATABASE_USER=postgres addons: postgresql: "9.3" services: - memcached - redis-server before_install: - bash bin/check_signoff.sh - pip install -q flake8==2.6.2 - flake8 install: - pip install -q coverage Django==$DJANGO - pip install -q -r requirements.txt - "if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install --use-mirrors ordereddict importlib; fi" before_script: - psql -U postgres -c 'CREATE DATABASE serrano;' script: - coverage run test_suite.py after_success: - pip install -q coveralls - coveralls ```
848f1f6e-e969-4434-8fe5-11348aca806e
{ "language": "YAML" }
```yaml sudo: false language: node_js node_js: - stable - "0.12" ``` Add Node.js 4 and 5 to Travis CI
```yaml sudo: false language: node_js node_js: - "5" - "4" - "0.12" ```
4f5161c9-2243-4b1d-8030-fff6b05a8a21
{ "language": "YAML" }
```yaml language: go go: - 1.0 - 1.1 - 1.2 - 1.3 - 1.4 sudo: false ``` Add Go 1.5 to Travis
```yaml language: go go: - 1.0 - 1.1 - 1.2 - 1.3 - 1.4 - 1.5 sudo: false ```
5a455517-0b79-446b-844f-c99a1b24afea
{ "language": "YAML" }
```yaml language: go go: - 1.3 - release - tip install: go get -d -t -v ./...``` Fix Go versions for Travis.
```yaml language: go go: - 1.3.3 - 1.4.1 install: go get -d -t -v ./... ```
731d4f9c-ba79-40d4-9064-492d33c0b8f2
{ "language": "YAML" }
```yaml language: cpp compiler: - clang before_install: - sudo apt-get install cmake libsfml-dev script: - mkdir _build && cd _build - cmake .. - make Aquila aquila_test - ctest ``` Build with gcc, not only clang.
```yaml language: cpp compiler: - clang - gcc before_install: - sudo apt-get install cmake libsfml-dev script: - mkdir _build && cd _build - cmake .. - make Aquila aquila_test - ctest ```
3560bd89-6526-4a7f-83b6-4e30585e0476
{ "language": "YAML" }
```yaml language: node_js node_js: - "5" - "4" - "0.12" - "0.11" - "0.10" ``` Update CI to test node 5, 6 and future latest version.
```yaml language: node_js node_js: - "node" - "6" - "5" ```
2b480c41-ca12-441a-b509-589531a8741b
{ "language": "YAML" }
```yaml sudo: required services: - docker notifications: slack: on_success: never on_failure: always rooms: - oicr:S9k4EowgQv9AnbCfEZHSzCsg language: java jdk: - oraclejdk8 install: pip install --user cwltools script: - cd launcher - mvn -B clean install -DskipITs=false after_success: - mvn -B clean install -DskipITs=false cobertura:cobertura coveralls:report ``` Fix name of cwltool from
```yaml sudo: required services: - docker notifications: slack: on_success: never on_failure: always rooms: - oicr:S9k4EowgQv9AnbCfEZHSzCsg language: java jdk: - oraclejdk8 install: - pip install --upgrade - pip install --user cwl-runner script: - cd launcher - mvn -B clean install -DskipITs=false after_success: - mvn -B clean install -DskipITs=false cobertura:cobertura coveralls:report ```
b10eafe3-6dbc-4c8d-baae-7edaddb84f6b
{ "language": "YAML" }
```yaml language: ruby cache: bundler script: - bundle exec rake - bundle exec rspec rvm: - 2.0.0 ``` Add Cucumber to Travis build
```yaml language: ruby cache: bundler script: - bundle exec rake - bundle exec rspec - bundle exec cucumber rvm: - 2.0.0 ```
27db62d4-9623-4253-95d2-d5c95dbdd38e
{ "language": "YAML" }
```yaml language: node_js node_js: - "0.8" - "0.10" ``` Add 0.12 into test environments
```yaml language: node_js node_js: - "0.8" - "0.10" - "0.12" ```
fe86fa15-dd9a-41b0-b342-76dd35787e74
{ "language": "YAML" }
```yaml language: c install: wget https://raw.githubusercontent.com/ocaml/ocaml-travisci-skeleton/master/.travis-opam.sh script: bash -ex .travis-opam.sh env: global: - ALCOTEST_SHOW_ERRORS=1 - REVDEPS="irmin-indexeddb" - PINS="irmin.dev:. irmin-mem.dev:. irmin-fs.dev:. irmin-http.dev:. irmin-git.dev:. irmin-mirage.dev:. irmin-unix.dev:. irmin-chunk.dev:." matrix: - OCAML_VERSION=4.03 PACKAGE="irmin-fs.dev" TESTS=true - OCAML_VERSION=4.04 PACKAGE="irmin-mem.dev" TESTS=true - OCAML_VERSION=4.03 PACKAGE="irmin-git.dev" TESTS=true - OCAML_VERSION=4.04 PACKAGE="irmin-http.dev" TESTS=true - OCAML_VERSION=4.04 PACKAGE="irmin-chunk.dev" TESTS=true - OCAML_VERSION=4.03 PACKAGE="irmin-mirage.dev" - OCAML_VERSION=4.04 PACKAGE="irmin-unix.dev" TESTS=true EXTRA_DEPS=inotify ``` Test 4.05 and 4.06 in Travis
```yaml language: c install: wget https://raw.githubusercontent.com/ocaml/ocaml-travisci-skeleton/master/.travis-opam.sh script: bash -ex .travis-opam.sh env: global: - ALCOTEST_SHOW_ERRORS=1 - REVDEPS="irmin-indexeddb" - PINS="irmin.dev:. irmin-mem.dev:. irmin-fs.dev:. irmin-http.dev:. irmin-git.dev:. irmin-mirage.dev:. irmin-unix.dev:. irmin-chunk.dev:." matrix: - OCAML_VERSION=4.03 PACKAGE="irmin-fs.dev" TESTS=true - OCAML_VERSION=4.04 PACKAGE="irmin-mem.dev" TESTS=true - OCAML_VERSION=4.05 PACKAGE="irmin-git.dev" TESTS=true - OCAML_VERSION=4.06 PACKAGE="irmin-http.dev" TESTS=true - OCAML_VERSION=4.06 PACKAGE="irmin-chunk.dev" TESTS=true - OCAML_VERSION=4.05 PACKAGE="irmin-mirage.dev" - OCAML_VERSION=4.06 PACKAGE="irmin-unix.dev" TESTS=true EXTRA_DEPS=inotify ```
c4a47e8b-8c36-4c4c-86bd-0ae7f77907c0
{ "language": "YAML" }
```yaml language: java os: linux dist: trusty sudo: required cache: directories: - $HOME/.m2 install: /bin/true before_script: - "sudo apt install -qq -y maven gtk+3.0 stalonetray ubuntu-gnome-desktop chromium-browser" - "touch ~/.stalonetrayrc" - "export DISPLAY=:99.0" - "Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &" - "sleep 3" - "stalonetray &" - "sleep 3" - "rm ~/.m2/settings.xml" jdk: - oraclejdk8 script: - mvn clean package after_success: - bash <(curl -s https://codecov.io/bash) ``` Make aptitude even less noisy
```yaml language: java os: linux dist: trusty sudo: required cache: directories: - $HOME/.m2 install: /bin/true before_script: - "apt-get install -qq -o=Dpkg::Use-Pty=0 -y maven gtk+3.0 stalonetray ubuntu-gnome-desktop chromium-browser" - "touch ~/.stalonetrayrc" - "export DISPLAY=:99.0" - "Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &" - "sleep 3" - "stalonetray &" - "sleep 3" - "rm ~/.m2/settings.xml" jdk: - oraclejdk8 script: - mvn clean package after_success: - bash <(curl -s https://codecov.io/bash) ```
5b42c6d6-afb4-4205-814b-062a935bcca6
{ "language": "YAML" }
```yaml sudo: false language: python python: - "2.7" - "3.3" - "3.4" - "3.5" - "3.6" env: - DJANGO="1.8" - DJANGO="1.9" - DJANGO="1.10" - DJANGO="1.11" install: pip install tox-travis codecov script: tox after_success: coverage combine && codecov matrix: fast_finish: true include: - python: 3.6 env: TOXENV=flake8 ``` Make Travis build master again
```yaml sudo: false language: python python: - "2.7" - "3.3" - "3.4" - "3.5" - "3.6" env: - DJANGO="1.8" - DJANGO="1.9" - DJANGO="1.10" - DJANGO="1.11" install: pip install tox-travis codecov script: tox after_success: coverage combine && codecov matrix: fast_finish: true include: - python: 3.6 env: TOXENV=flake8 branches: only: - master ```
5d30768d-50c8-4624-9349-f6b55cd84f31
{ "language": "YAML" }
```yaml language: php php: - 7.0 - 7.1 sudo: false cache: directories: - $HOME/.composer/cache before_install: - travis_retry composer self-update install: - composer install --no-interaction --prefer-dist --no-suggest script: vendor/bin/phpunit ``` Disable xdebug on Travis CI
```yaml language: php php: - 7.0 - 7.1 sudo: false cache: directories: - $HOME/.composer/cache before_install: - phpenv config-rm xdebug.ini - travis_retry composer self-update install: - composer install --no-interaction --prefer-dist --no-suggest script: vendor/bin/phpunit ```
8ff11daa-373e-4630-a7cc-580da4931362
{ "language": "YAML" }
```yaml language: java jdk: - oraclejdk8 # Enable container-based architecture. sudo: false addons: apt: packages: # Travis is on 64bit and there will be a cryptic aapt error w/o these libs. # For native code tests, we need some additional libraries if we are in a 64-bit environment. - libgd2-xpm - libc6:i386 - libstdc++6:i386 - zlib1g:i386 - groovy before_install: # Limit Ant's and Buck's memory usage to avoid the OOM killer. - export ANT_OPTS='-Xmx500m' - export BUCK_EXTRA_JAVA_ARGS='-Xmx500m' # Set up the Android environment. - export NDK_HOME=${HOME}/android-ndk-linux - ./scripts/travisci_install_android_ndk.sh - export ANDROID_HOME=${HOME}/android-sdk-linux - ./scripts/travisci_install_android_sdk.sh # Install go 1.5 - eval "$(gimme 1.5)" # Set up the Groovy environment - export GROOVY_HOME=/usr/share/groovy/ cache: directories: - $HOME/android-ndk-linux - $HOME/android-sdk-linux script: - ./scripts/travisci_run.sh ``` Use newer java 8 on Travis CI
```yaml language: java jdk: - oraclejdk8 # Enable container-based architecture. sudo: false addons: apt: packages: # Travis is on 64bit and there will be a cryptic aapt error w/o these libs. # For native code tests, we need some additional libraries if we are in a 64-bit environment. - libgd2-xpm - libc6:i386 - libstdc++6:i386 - zlib1g:i386 - groovy # Getting compile errors on javac 1.8.0_31-b13 - oracle-java8-installer before_install: # Limit Ant's and Buck's memory usage to avoid the OOM killer. - export ANT_OPTS='-Xmx500m' - export BUCK_EXTRA_JAVA_ARGS='-Xmx500m' # Set up the Android environment. - export NDK_HOME=${HOME}/android-ndk-linux - ./scripts/travisci_install_android_ndk.sh - export ANDROID_HOME=${HOME}/android-sdk-linux - ./scripts/travisci_install_android_sdk.sh # Install go 1.5 - eval "$(gimme 1.5)" # Set up the Groovy environment - export GROOVY_HOME=/usr/share/groovy/ cache: directories: - $HOME/android-ndk-linux - $HOME/android-sdk-linux script: - ./scripts/travisci_run.sh ```
e1472f19-5686-4d26-b475-7f37d47a6726
{ "language": "YAML" }
```yaml language: node_js node_js: - "0.11" - "0.10" - "0.8" - "0.6" ``` Test against less ancient node versions
```yaml language: node_js node_js: - "8" - "9" ```
884703ef-eef0-43c9-84c3-392bd77a00f6
{ "language": "YAML" }
```yaml language: objective-c #language: objective-c #xcode_project: FDSoundActivatedRecorder.xcodeproj #xcode_scheme: FDSoundActivatedRecorder #xcode_sdk: iphonesimulator7.0 # PER https://github.com/travis-ci/travis-ci/issues/2197 # https://github.com/jessesquires/BButton/blob/54a8b3eb1f237a502201910f455a030800956ebe/.travis.yml before_install: - brew update - brew upgrade xctool script: - xctool -project FDTakeExample.xcodeproj -scheme FDTakeExample -sdk iphonesimulator7.0 ONLY_ACTIVE_ARCH=NO clean build test notifications: email: fdtake@phor.net ``` Update Travis for more vanilla setup
```yaml language: objective-c xcode_project: FDTakeExample.xcodeproj xcode_scheme: FDTakeExample notifications: email: fdtake@phor.net ```
8a9753cc-55fe-4a84-9ea7-42f1210be293
{ "language": "YAML" }
```yaml language: node_js node_js: - '4.0' - '8.0' after_script: bash <(curl -s https://codecov.io/bash) sudo: false deploy: - provider: npm email: tituswormer@gmail.com api_key: secure: Q6JtoC1bAeMqQmw2fl+xdFxv4wScuUmjNgr/Fc8rLT0z+i84Rp1rJayojOBgFVkpLO5rhJ71OrP4NN4vpAtSp6+hvIqhFNAT98DQqFh6VKEa0TCRFTYzKiCLlKKfMun69slznwjjZGq4JrCLpLs/xuDVJp/sNxzPSSIcXVQ3Drc= on: tags: true node: '4.0' - provider: releases api_key: secure: X6QF7zle+i+uRKy4c1km2m6ZH2AmbFQqnqP4BGoI4CBB+6tRiQCGoz8wd8LkfBemJcaAaS5O/g9ltb/n+QLHG1sMo8pTy0p4YVGOz6Jp8W0JspSkd9J4gEflTqJ0N7ONXCfHbhb9Lq399OkNyR8lc9432bbLv35zc+0y3deIHFE= file: - "plain-text-data-to-json.js" - "plain-text-data-to-json.min.js" on: tags: true node: '8.0' ``` Remove npm deployment from Travis
```yaml language: node_js node_js: - '4.0' - '8.0' after_script: bash <(curl -s https://codecov.io/bash) sudo: false deploy: provider: releases api_key: secure: X6QF7zle+i+uRKy4c1km2m6ZH2AmbFQqnqP4BGoI4CBB+6tRiQCGoz8wd8LkfBemJcaAaS5O/g9ltb/n+QLHG1sMo8pTy0p4YVGOz6Jp8W0JspSkd9J4gEflTqJ0N7ONXCfHbhb9Lq399OkNyR8lc9432bbLv35zc+0y3deIHFE= file: - "plain-text-data-to-json.js" - "plain-text-data-to-json.min.js" on: tags: true node: '8.0' ```
7ef4fefd-7576-4580-be1c-4680d4c4e55e
{ "language": "YAML" }
```yaml language: android android: components: - tools - tools - platform-tools - build-tools-24.0.3 - android-24 - sys-img-armeabi-v7a-google_apis-24 - extra - extra-android-m2repository script: ./gradlew build test jdk: - oraclejdk8 sudo: false before_cache: - rm -rf $HOME/.m2/repository/io/michaelrocks/lightsaber- - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock cache: directories: - $HOME/.m2 - $HOME/.gradle/caches/ - $HOME/.gradle/wrapper/ install: - ./gradlew assemble publishToMavenLocal -Pbootstrap=true --no-daemon --rerun-tasks before_script: - echo no | android create avd --force -n test -t android-24 -b armeabi-v7a -g google_apis - emulator -avd test -no-audio -no-window & - android-wait-for-emulator - adb shell input keyevent 82 & script: - ./gradlew check connectedCheck --no-daemon ``` Remove non-working -no-audio flag for emulator
```yaml language: android android: components: - tools - tools - platform-tools - build-tools-24.0.3 - android-24 - sys-img-armeabi-v7a-google_apis-24 - extra - extra-android-m2repository script: ./gradlew build test jdk: - oraclejdk8 sudo: false before_cache: - rm -rf $HOME/.m2/repository/io/michaelrocks/lightsaber- - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock cache: directories: - $HOME/.m2 - $HOME/.gradle/caches/ - $HOME/.gradle/wrapper/ install: - ./gradlew assemble publishToMavenLocal -Pbootstrap=true --no-daemon --rerun-tasks before_script: - echo no | android create avd --force -n test -t android-24 -b armeabi-v7a -g google_apis - emulator -avd test -no-window & - android-wait-for-emulator - adb shell input keyevent 82 & script: - ./gradlew check connectedCheck --no-daemon ```
c6106a96-4498-408f-9991-c6efe0f64256
{ "language": "YAML" }
```yaml language: perl perl: - "5.20" - "5.18" - "5.16" - "5.14" before_install: - sudo apt-get install build-essential libpng-dev zlib1g-dev libgd2-xpm-dev - cpanm PerlIO::gzip - cpanm GD::Image - ./setup.sh install: true script: - prove -I src/perl5 -r tests/perl_tests ``` Add dependencies for perl tests
```yaml language: perl perl: - "5.20" - "5.18" - "5.16" - "5.14" before_install: - sudo apt-get install build-essential libpng-dev zlib1g-dev libgd2-xpm-dev - cpanm PerlIO::gzip - cpanm GD::Image - cpanm DB_File.pm - ./setup.sh install: true script: - prove -I src/perl5 -r tests/perl_tests ```
10657164-2454-4a46-b331-b6d147da2332
{ "language": "YAML" }
```yaml language: perl perl: - 5.16 install: - cpanm --quiet --notest IO::Prompt::Tiny - cpanm --quiet --notest Devel::Cover::Report::Coveralls after_success: - cover -report coveralls ``` Update install deps for Travis.
```yaml language: perl perl: - 5.16 install: - cpanm --quiet --notest IO::Prompt::Tiny - cpanm --quiet --notest Devel::Cover::Report::Coveralls - cpanm --quiet --notest --installdeps . after_success: - cover -report coveralls ```
141e5d7f-fe24-454c-8fae-f7b54f2f6c90
{ "language": "YAML" }
```yaml language: ruby rvm: - 1.9.3 - 2.0.0 - jruby-19mode - rbx-2.2 env: - ACTIVE_RECORD_BRANCH="master" - ACTIVE_RECORD_BRANCH="4-0-stable" - ACTIVE_RECORD_VERSION="~> 4.0.0" - ACTIVE_RECORD_VERSION="~> 3.2.0" - ACTIVE_RECORD_VERSION="~> 3.1.0" matrix: allow_failures: - rvm: rbx-2.2 - rvm: jruby-19mode - env: ACTIVE_RECORD_BRANCH="master" - env: ACTIVE_RECORD_BRANCH="4-0-stable" before_script: - "psql -c 'create database pg_search_test;' -U postgres >/dev/null" script: "bundle exec rspec spec" ``` Add Ruby 2.1.0 to Travis build
```yaml language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.0 - jruby-19mode - rbx-2.2 env: - ACTIVE_RECORD_BRANCH="master" - ACTIVE_RECORD_BRANCH="4-0-stable" - ACTIVE_RECORD_VERSION="~> 4.0.0" - ACTIVE_RECORD_VERSION="~> 3.2.0" - ACTIVE_RECORD_VERSION="~> 3.1.0" matrix: allow_failures: - rvm: 2.1.0 - rvm: rbx-2.2 - rvm: jruby-19mode - env: ACTIVE_RECORD_BRANCH="master" - env: ACTIVE_RECORD_BRANCH="4-0-stable" before_script: - "psql -c 'create database pg_search_test;' -U postgres >/dev/null" script: "bundle exec rspec spec" ```
0ed564da-b142-4715-a446-33ad67f555e8
{ "language": "YAML" }
```yaml language: node_js node_js: - "6.1" before_install: - npm -g install bower gulp install: - npm install && bower install script: - gulp``` Add tag-based GH release to Travis build
```yaml language: node_js node_js: - '6.1' before_install: - npm -g install bower gulp install: - npm install && bower install script: - gulp package deploy: provider: releases api_key: secure: FCAib0wYdzVYa/8pfszmxfarWQWP6GbWvNPetGpczvvNR0ASF30gDAkzAqRSrI+3aPdPEx5pDfAiIyE1FZ4ldi5aRLDOdM9aJX94yioRt1zYOYPmoFMu6e1ihRr5cZpk7PgkATpLe0nffuM4CqQELddSbdLLfm0cKK+R6C5X6bNApDacRNTKvzp7hBbnN0zOtXZ8OrQ1vOCawhHyAKgWXyVZeYV1BcszP+K3ZRd3bja8jmVPJzuHHVZtzLbw6ugj8mnnLft0OIU7HnN80vfiw1UvDAKR3i0PHUNMQ71ZgqMziUS+/0SreVu1jOpiJ57ZobloCgpREgKYWpJK2k7Hlbjx4BSfUq6UvzGaOeurPxP7YeypipfjUX+H89vprxRHcubTBu/bn4HPDf7MPbWR4EZ1ckgFS9giwQrc/tUtiouqXbwpPtjL6oyr7QEWjD7e4+0BxcNsgdq2b8tH4/Z2jxZZJhQ9PHjKaNoytS8kaLB9GssiURcBZ85U+M43WZKtZcSHZg9S7dzBALjhKlHW82o5q/TWN1bBO3GyGmGVyINZaVaekxE2u4SYLyuc2P/YC/06CGHK2uP7kYFk2UQg1HGfM3ns0T+478DYvz5jKIrJaFFWwPht9CLuveD7MViPSpLK2P/AuQ57yhAmUTiZmRzeHxtnO5F+eP7AxOIn4CI= skip_cleanup: true file: - dist/debug.tar.gz - dist/release.tar.gz on: repo: kog/js-tda tags: true ```
ac1254c3-530f-4859-93b3-f6f13e50c2ff
{ "language": "YAML" }
```yaml sudo: false dist: trusty language: node_js node_js: - "6" - "6.1" - "5.11" - "0.6" - "iojs" os: - osx - linux before_install: - if [ $TRAVIS_OS_NAME == "linux" ]; then export CXX="g++-4.9" CC="gcc-4.9" DISPLAY=:99.0; sh -e /etc/init.d/xvfb start; sleep 3; fi install: - npm install - npm run vscode:prepublish script: - npm test --silent``` Remove prebulish script from Travis config
```yaml sudo: false dist: trusty language: node_js node_js: - "6" - "6.1" - "5.11" - "0.6" - "iojs" os: - osx - linux before_install: - if [ $TRAVIS_OS_NAME == "linux" ]; then export CXX="g++-4.9" CC="gcc-4.9" DISPLAY=:99.0; sh -e /etc/init.d/xvfb start; sleep 3; fi install: - npm install script: - npm test --silent```
82e43b30-3b08-4a6c-820a-805c9f203ddb
{ "language": "YAML" }
```yaml --- sudo: required services: - docker env: matrix: - distribution: centos version: 7 init: /usr/lib/systemd/systemd run_opts: "--privileged --volume=/sys/fs/cgroup:/sys/fs/cgroup:ro" before_install: - 'docker pull ${distribution}:${version}' - container_id=$(mktemp) - 'docker run --detach ${run_opts} ${distribution}:${version} "${init}" > "${container_id}"' script: - 'docker exec --tty "$(cat ${container_id})" env TERM=xterm yum install -y sudo' - 'docker exec --tty "$(cat ${container_id})" env TERM=xterm bash -c "$(curl -fsSL https://git.io/imokuri)"' - 'docker exec --tty "$(cat ${container_id})" env TERM=xterm ansible-playbook ~/.setup.yaml --tags optional' - 'docker stop "$(cat ${container_id})"' notifications: email: false ``` Revert "add quote for docker command"
```yaml --- sudo: required services: - docker env: matrix: - distribution: centos version: 7 init: /usr/lib/systemd/systemd run_opts: "--privileged --volume=/sys/fs/cgroup:/sys/fs/cgroup:ro" before_install: - docker pull ${distribution}:${version} - container_id=$(mktemp) - docker run --detach ${run_opts} ${distribution}:${version} "${init}" > "${container_id}" script: - docker exec --tty "$(cat ${container_id})" env TERM=xterm yum install -y sudo - docker exec --tty "$(cat ${container_id})" env TERM=xterm bash -c "$(curl -fsSL https://git.io/imokuri)" - docker exec --tty "$(cat ${container_id})" env TERM=xterm ansible-playbook ~/.setup.yaml --tags optional - docker stop "$(cat ${container_id})" notifications: email: false ```
18746bb9-cfab-47ca-9384-9d641d114cef
{ "language": "YAML" }
```yaml language: php php: - 5.3 - 5.4 - 5.5 before_script: - phpenv config-add ./app/config/php.ini - composer install --prefer-source script: - find ./src -name "*.php" -exec php -l {} \; - ./bin/phpspec run --format=pretty - ./bin/phpunit --printer PHPUnit_Util_TestDox_ResultPrinter_Text - php ./coverage-checker.php ./var/logs/phpunit-clover.xml 50 - ./bin/phpcpd -vvv --log-pmd="./var/logs/cpd.xml" ./src - ./bin/phpmd ./src text ./app/config/ruleset.xml after_script: - ./bin/coveralls -v - cat var/logs/phpspec-clover.xml ``` Add check for how much code coverage the PHP spec tests are generating.
```yaml language: php php: - 5.3 - 5.4 - 5.5 before_script: - phpenv config-add ./app/config/php.ini - composer install --prefer-source script: - find ./src -name "*.php" -exec php -l {} \; - ./bin/phpspec run --format=pretty - ./bin/phpunit --printer PHPUnit_Util_TestDox_ResultPrinter_Text - ./bin/phpcpd -vvv --log-pmd="./var/logs/cpd.xml" ./src - ./bin/phpmd ./src text ./app/config/ruleset.xml after_script: - ./bin/coveralls -v - php ./coverage-checker.php ./var/logs/phpunit-clover.xml 50 - php ./coverage-checker.php ./var/logs/phpspec-clover.xml 50 - cat var/logs/phpspec-clover.xml ```
e4405012-5266-491a-8570-0a1aa87be2c2
{ "language": "YAML" }
```yaml language: node_js sudo: false node_js: - node addons: firefox: '42.0' cache: directories: - node_modules - "$HOME/.cache/bower" before_install: - "if [ -d node_modules ] && [ x$(cat node_modules/.last-node-version 2>/dev/null) != x$(node -e 'console.log(process.version)') ]; then npm rebuild --update-binary && node -e 'console.log(process.version)' > node_modules/.last-node-version; fi" before_script: - npm install web-component-tester bower polylint - bower install - polylint - export PATH=$PWD/node_modules/.bin:$PATH script: - xvfb-run wct ``` Update Firefox to 49.0.2 and make wct happy again
```yaml language: node_js sudo: false node_js: - node addons: firefox: '49.0.2' apt: packages: - oracle-java8-installer cache: directories: - node_modules - "$HOME/.cache/bower" before_install: - "if [ -d node_modules ] && [ x$(cat node_modules/.last-node-version 2>/dev/null) != x$(node -e 'console.log(process.version)') ]; then npm rebuild --update-binary && node -e 'console.log(process.version)' > node_modules/.last-node-version; fi" before_script: - npm install web-component-tester bower polylint - bower install - polylint - export PATH=$PWD/node_modules/.bin:$PATH script: - JAVA_HOME=/usr/lib/jvm/java-8-oracle PATH=/usr/lib/jvm/java-8-oracle/bin:$PATH xvfb-run wct ```
44dc2d19-5475-4a70-bd9f-18b19b71fb2b
{ "language": "YAML" }
```yaml os: - linux - osx # Enable Trusty dist, Standard is ancient. dist: trusty # Enable C++ support language: cpp # # Compiler selection compiler: - clang - gcc # Build steps script: - mkdir build && cd build - if [[ $TRAVIS_OS_NAME = osx ]]; then cmake ..; else cmake -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl/ ..; fi - make - make jwttool - make tests && make test before_install: - if [[ $TRAVIS_OS_NAME = linux ]]; then sudo apt-get -qq update; else brew update; fi - if [[ $TRAVIS_OS_NAME = linux ]]; then sudo apt-get install -y libjansson-dev; else brew install jansson; fi - if [[ $TRAVIS_OS_NAME = linux ]]; then sudo apt-get install -y libboost-all-dev; fi - if [[ $TRAVIS_OS_NAME = osx ]]; then brew install openssl; fi ``` Add explicit OPENSSL_INCLUDE_DIR on OSX.
```yaml os: - linux - osx # Enable Trusty dist, Standard is ancient. dist: trusty # Enable C++ support language: cpp # # Compiler selection compiler: - clang - gcc # Build steps script: - mkdir build && cd build - if [[ $TRAVIS_OS_NAME = osx ]]; then cmake ..; else cmake -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl/ -DOPENSSL_INCLUDE_DIR=/usr/local/opt/openssl/include ..; fi - make - make jwttool - make tests && make test before_install: - if [[ $TRAVIS_OS_NAME = linux ]]; then sudo apt-get -qq update; else brew update; fi - if [[ $TRAVIS_OS_NAME = linux ]]; then sudo apt-get install -y libjansson-dev; else brew install jansson; fi - if [[ $TRAVIS_OS_NAME = linux ]]; then sudo apt-get install -y libboost-all-dev; fi - if [[ $TRAVIS_OS_NAME = osx ]]; then brew install openssl; fi ```
1739411b-592a-4d3f-b734-3adb64bc13e3
{ "language": "YAML" }
```yaml sudo: false language: node_js node_js: - "0.11" - "0.10" - "0.12" - iojs before_install: - npm update -g npm - npm install -g bob coveralls --loglevel error script: - bob build - cat .bob/coverage/buster-istanbul/lcov.info | coveralls ``` Add libusb installation as a pre step.
```yaml sudo: false language: node_js node_js: - "0.11" - "0.10" - "0.12" - iojs before_install: - npm update -g npm - npm install -g bob coveralls --loglevel error - sudo apt-get install libusb-dev script: - bob build - cat .bob/coverage/buster-istanbul/lcov.info | coveralls ```
5390cbcb-0992-4f47-ac67-3e8898d8b212
{ "language": "YAML" }
```yaml language: rust rust: - nightly - beta addons: rethinkdb: '2.3.5' before_script: - rethinkdb --port-offset 1 --directory rethinkdb_data1 --join localhost:29015 > /dev/null 2>&1 & - rethinkdb --port-offset 2 --directory rethinkdb_data2 --join localhost:29015 > /dev/null 2>&1 & script: - cargo test - cargo doc --no-deps ``` Add Rust v1.15.0 as minimum supported version
```yaml language: rust rust: - nightly - beta - stable - 1.15.0 addons: rethinkdb: '2.3.5' before_script: - rethinkdb --port-offset 1 --directory rethinkdb_data1 --join localhost:29015 > /dev/null 2>&1 & - rethinkdb --port-offset 2 --directory rethinkdb_data2 --join localhost:29015 > /dev/null 2>&1 & script: - cargo test - cargo doc --no-deps ```
651f7e2a-10cd-491f-9cef-d71a79e9dddc
{ "language": "YAML" }
```yaml language: ruby rvm: - 1.9.3 - 2.0.0 before_script: "pushd spec/dummy && RAILS_ENV=test bundle exec rake db:create db:migrate; popd" notifications: recipients: - alerts@oneclickorgs.com ``` Use latest version of Bundler.
```yaml language: ruby rvm: - 1.9.3 - 2.0.0 before_install: - gem install bundler before_script: "pushd spec/dummy && RAILS_ENV=test bundle exec rake db:create db:migrate; popd" notifications: recipients: - alerts@oneclickorgs.com ```
f1c386e5-0b18-42be-958b-82f1746b7396
{ "language": "YAML" }
```yaml language: python python: - "2.7" - "3.3" - "3.4" - "pypy" env: - DJANGO="Django<1.5" - DJANGO="Django<1.6" - DJANGO="Django<1.7" - DJANGO="Django<1.8" install: - pip install $DJANGO --use-mirrors script: - python runtests.py before_script: - sh -c "if [ '$DJANGO' = 'Django<1.5' -o '$DJANGO' = 'Django<1.6' ]; then pip install django-discover-runner; fi" matrix: exclude: - env: DJANGO="Django<1.5" python: "3.3" - env: DJANGO="Django<1.5" python: "3.4" ``` Remove testing on Django 1.4
```yaml language: python python: - "2.7" - "3.3" - "3.4" - "pypy" env: - DJANGO="Django<1.6" - DJANGO="Django<1.7" - DJANGO="Django<1.8" install: - pip install $DJANGO --use-mirrors script: - python runtests.py before_script: - sh -c "if [ '$DJANGO' = 'Django<1.6' ]; then pip install django-discover-runner; fi" ```
950edb62-579a-41e5-931f-2a5af944adad
{ "language": "YAML" }
```yaml language: node_js node_js: - "0.10" env: - NODE_ENV=development ``` Send notifiction to Slack after CI build
```yaml language: node_js node_js: - '0.10' env: - NODE_ENV=development notifications: slack: secure: fsCX0/TDE9TAJR0S91dboOZ4expmCc8o6joVzsHNJYTJfDtSJehdKjTzYuO/vsRigOOoQZ0dJEPl+D4fysBDV+jkOT5sTjp/uKtcfwHwPi03K8GauwvyW0x4N1M+mY+5jN2ZyBZXqVM5dc0wbgldP9QOg5UpB80hfWUZ+0F1MTM= ```
9fe5114a-2b86-458e-b9e0-33372f5ce5c4
{ "language": "YAML" }
```yaml language: go go: - 1.6 - 1.7 - 1.8.x ``` Use wildcard versions for Go in Travis config.
```yaml language: go go: - 1.6.x - 1.7.x - 1.8.x ```
78a2abc3-c1c7-4a8d-b6ca-0896ba477216
{ "language": "YAML" }
```yaml sudo: false language: node_js node_js: - '0.10' - '0.12' - 'iojs' before_script: npm config set coverage true after_success: npm run-script coveralls env: - DEBUG="yeoman:generator" ``` Test on node v4 and v5 instead of iojs
```yaml sudo: false language: node_js node_js: - '0.10' - '0.12' - '4' - '5' before_script: npm config set coverage true after_success: npm run-script coveralls env: - DEBUG="yeoman:generator" ```
8b15c312-3653-4281-94f3-9c80d5ebb3ca
{ "language": "YAML" }
```yaml # WARNING: # Do not use this file as a template for you repository TravisCI configuration # Instead use the files under the "/sample_files" directory for that purpose. language: python python: - "2.7" virtualenv: system_site_packages: true env: - VERSION="master" - VERSION="8.0" - VERSION="7.0" - VERSION="6.1" # - VERSION="6.0" # Test script not ready for v6.0 install: #- git clone https://github.com/OCA/maintainer-quality-tools.git $HOME/maintainer-quality-tools - cp -r ../maintainer-quality-tools/ $HOME # for maintainer-quality-tools self tests only - export PATH=$HOME/maintainer-quality-tools/travis:$PATH - travis_install_nightly $VERSION - $HOME/maintainer-quality-tools/travis/travis_install_nightly ${VERSION} - pip install coveralls flake8 script: - travis_run_flake8 - travis_run_tests ${VERSION} after_success: coveralls ``` Remove duplicate call to install script
```yaml # WARNING: # Do not use this file as a template for you repository TravisCI configuration # Instead use the files under the "/sample_files" directory for that purpose. language: python python: - "2.7" virtualenv: system_site_packages: true env: - VERSION="master" - VERSION="8.0" - VERSION="7.0" - VERSION="6.1" # - VERSION="6.0" # Test script not ready for v6.0 install: #- git clone https://github.com/OCA/maintainer-quality-tools.git $HOME/maintainer-quality-tools - cp -r ../maintainer-quality-tools/ $HOME # for maintainer-quality-tools self tests only - export PATH=$HOME/maintainer-quality-tools/travis:$PATH - travis_install_nightly $VERSION - pip install coveralls flake8 script: - travis_run_flake8 - travis_run_tests ${VERSION} after_success: coveralls ```
ac5a56c5-433b-4f07-bb33-e1e860a3c24f
{ "language": "YAML" }
```yaml language: python python: - pypy - 2.6 - 2.7 env: SYNTAX=true install: "pip install -r requirements.txt" script: nosetests ``` Add pypy3, 3.5 and 3.6
```yaml language: python python: - pypy - pypy3 - 2.6 - 2.7 - 3.5 - 3.6 env: SYNTAX=true install: "pip install -r requirements.txt" script: nosetests ```
1e39261b-9777-40a7-8f0e-b6a0b363e9bc
{ "language": "YAML" }
```yaml language: node_js node_js: - "6" - "7" cache: directories: - $HOME/.npm - $HOME/.yarn-cache - node_modules script: - npm run test:ci``` Add CI test for Node 8
```yaml language: node_js node_js: - "6" - "7" - "8" cache: directories: - $HOME/.npm - $HOME/.yarn-cache - node_modules script: - npm run test:ci```
bed117b0-364f-45e4-9c8b-d8579b85a7ab
{ "language": "YAML" }
```yaml # .travis.yml language: node_js node_js: - 0.10 - 0.8 - 0.6 notifications: email: false``` Remove 0.6 as a target for TravisCI
```yaml # .travis.yml language: node_js node_js: - 0.10 - 0.8 notifications: email: false ```
437f95a2-9aa5-4146-b8d3-084ad21f114c
{ "language": "YAML" }
```yaml dist: trusty language: scala scala: - 2.11.12 - 2.12.4 jdk: - oraclejdk8 - openjdk8 test: - sbt ++$TRAVIS_SCALA_VERSION test - sbt ++$TRAVIS_SCALA_VERSION scalastyle ``` Remove Travis configuration that matches default
```yaml --- language: scala scala: - 2.11.12 - 2.12.4 jdk: - oraclejdk8 - openjdk8 test: - sbt ++$TRAVIS_SCALA_VERSION test - sbt ++$TRAVIS_SCALA_VERSION scalastyle ```
fd799fbe-8f88-49bd-9a8f-9d7bb6918be9
{ "language": "YAML" }
```yaml dist: trusty sudo: false language: cpp addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-6 - libboost-program-options-dev - libboost-regex-dev - libboost-system-dev - libpcap-dev script: - CXX=/usr/bin/g++-6 CC=/usr/bin/gcc-6 cmake . - cmake --build . ``` Add libpcre2-dev to Travis CI addons
```yaml dist: trusty sudo: false language: cpp addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-6 - libboost-program-options-dev - libboost-regex-dev - libboost-system-dev - libpcap-dev - libpcre2-dev script: - CXX=/usr/bin/g++-6 CC=/usr/bin/gcc-6 cmake . - cmake --build . ```
6abc8a15-ed69-43d2-ae16-2849fc4fecde
{ "language": "YAML" }
```yaml language: node_js node_js: - "0.12" - "0.11" - "0.10" sudo: false addons: code_climate: repo_token: efb7522eec30499991fe74d59051679a9ae2b5caf53fbb004b62ea83825cdc56 after_success: - node_modules/.bin/codeclimate-test-reporter < coverage/lcov.info ``` Drop support for old version of Node
```yaml language: node_js node_js: - "0.12" - "0.11" sudo: false addons: code_climate: repo_token: efb7522eec30499991fe74d59051679a9ae2b5caf53fbb004b62ea83825cdc56 after_success: - node_modules/.bin/codeclimate-test-reporter < coverage/lcov.info ```
a6ad1a7f-3905-4b79-a2ed-dff636960ebd
{ "language": "YAML" }
```yaml language: python python: - "2.6" - "2.7" install: pip install -r requirements.txt script: nosetests test_fakeredis.py:TestFakeRedis ``` Add explicit email address for CI notifications
```yaml language: python python: - "2.6" - "2.7" install: pip install -r requirements.txt script: nosetests test_fakeredis.py:TestFakeRedis notifications: email: - jls.npi@gmail.com ```
d21d46fb-ed2b-4d96-89ee-64b697b11e2c
{ "language": "YAML" }
```yaml # 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 the pre-release builds of chefdk
```yaml # 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 ```
72fdd6ad-475c-4579-90da-40efb2879508
{ "language": "YAML" }
```yaml language: go go: - 1.x - 1.6 - 1.7.x - 1.8.x - master ``` Drop support of Go 1.6
```yaml language: go go: - 1.x - 1.7.x - 1.8.x - master ```
061f0c14-45ab-4319-8592-9bb8fb1a2367
{ "language": "YAML" }
```yaml language: php php: - 7.1 - 7.2 - 7.3 - 7.4 - nightly before_script: composer install -n --dev script: - vendor/bin/phpcs - vendor/bin/phpunit --coverage-text allow_failures: - php: nightly ``` Remove nightly PHP from Travis because dependencies don't support it
```yaml language: php php: - 7.1 - 7.2 - 7.3 - 7.4 before_script: composer install -n --dev script: - vendor/bin/phpcs - vendor/bin/phpunit --coverage-text ```
14e96832-05ff-4137-a514-9382b9c922af
{ "language": "YAML" }
```yaml language: ruby script: 'bundle exec rake' gemfile: - gemfiles/Gemfile.activesupport-3.x - gemfiles/Gemfile.activesupport-4.x - gemfiles/Gemfile.activesupport-5.x rvm: - 1.9.3 - 2.0.0 - 2.1.5 - 2.2.4 - 2.3.0 - ruby-head - rbx-19mode - jruby-19mode - jruby-head services: - redis-server matrix: allow_failures: - rvm: jruby-head - rvm: ruby-head - rvm: 1.9.3 gemfile: gemfiles/Gemfile.activesupport-5.x - rvm: 2.0.0 gemfile: gemfiles/Gemfile.activesupport-5.x - rvm: 2.1.5 gemfile: gemfiles/Gemfile.activesupport-5.x - rvm: rbx-19mode gemfile: gemfiles/Gemfile.activesupport-5.x - rvm: jruby-19mode gemfile: gemfiles/Gemfile.activesupport-5.x ``` Drop support for v1.9 mode of both juby and rubinius
```yaml language: ruby script: 'bundle exec rake' gemfile: - gemfiles/Gemfile.activesupport-3.x - gemfiles/Gemfile.activesupport-4.x - gemfiles/Gemfile.activesupport-5.x rvm: - 1.9.3 - 2.0.0 - 2.1.5 - 2.2.4 - 2.3.0 - ruby-head - jruby-head services: - redis-server matrix: allow_failures: - rvm: jruby-head - rvm: ruby-head - rvm: 1.9.3 gemfile: gemfiles/Gemfile.activesupport-5.x - rvm: 2.0.0 gemfile: gemfiles/Gemfile.activesupport-5.x - rvm: 2.1.5 gemfile: gemfiles/Gemfile.activesupport-5.x - rvm: rbx-19mode gemfile: gemfiles/Gemfile.activesupport-5.x - rvm: jruby-19mode gemfile: gemfiles/Gemfile.activesupport-5.x ```
79e2ad26-8ace-4b23-bb99-39ebcadbeae1
{ "language": "YAML" }
```yaml language: cpp compiler: - gcc - clang before_install: - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y - sudo add-apt-repository ppa:h-rayflood/llvm -y - sudo apt-get update -qq install: - if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.7; fi - if [ "$CXX" = "g++" ]; then export CXX="g++-4.7" CC="gcc-4.7"; fi - if [ "$CXX" = "clang++" ]; then sudo apt-get install -qq --allow-unauthenticated clang-3.4; fi - if [ "$CXX" = "clang++" ]; then export CXX="clang++-3.4" CC="clang-3.4"; fi - wget "https://googlemock.googlecode.com/files/gmock-1.7.0.zip" - unzip gmock-1.7.0.zip - sudo apt-get install valgrind script: - autoconf - ./configure --with-gmock=gmock-1.7.0 - make - make test ``` Install compilers through Travis Apt-addon.
```yaml language: cpp compiler: - gcc - clang install: - if [ "$CXX" = "g++" ]; then export CXX="g++-4.7" CC="gcc-4.7"; fi - wget "https://googlemock.googlecode.com/files/gmock-1.7.0.zip" - unzip gmock-1.7.0.zip - sudo apt-get install valgrind script: - autoconf - ./configure --with-gmock=gmock-1.7.0 - make - make test addons: apt: sources: - ubuntu-toolchain-r-test packages: - gcc-4.7 - g++-4.7 ```
86077c98-1af3-40c6-801f-baa0508cac57
{ "language": "YAML" }
```yaml language: ruby rvm: - 2.2.2 before_install: gem install bundler -v 1.10.5 ``` Add (encrypted) environment, for testing.
```yaml language: ruby rvm: - 2.2.2 before_install: gem install bundler -v 1.10.5 env: secure: cuFj0+Ca3vL9/SE+FLm8gfaKOFyGVjY3zFcx7zqJ4dl1AiGM8mbl0SzV0tG+7Zvtrg+MnEl0I1TGaAyfGzNAbt+akue46h/fahhHGAMaR1Xi/3cwgjvderfZfRkDi57Vp8A+UD9PkNvFZRmpCpbBL/LpEBdRW4vWkIxENoCurJeKwIzLaaP/pHPA207eqbePUN8OF4WRHRBGXdAFAZq3SpuNZws4JE4yCPPivQh3p29eIcURPvgbB76tS+GfiAkfFqakuMBW/2EFA5RnZ0VqN5ORKgA2G7hjMDQfv+nx4bYrju+VG/c0gPMFOJfC3oezsEzWT6HjYRRBqtcmJ4xDoVVVXm6XOshhg9ukoPEpxgBNSmk3v6v8lbxHFMxNNFR6EyGHzEKHK0Ng/dfDlnu2v8jLhDGW0nNbZX4bxhjOtMcQmqe0SMWktYtHleKRk1DHPDwWYFsa/Kw808UPM2NK0asqowDxE8DdKLnPkZpXVl+f1hobPhodH3oX4DPFu/gyIvEzwYgGvOLEmNYXEZfpA58AKfe9yUm2Bvg2+LYLR2xIVkn7FAIJ+8s9kbIgr+19i234xspi9ZyO1JxAo1c8pVY6k1MmzembgulqfuiJSutEOXuAopVszUgOZtVD7O9yonFgyeNxlCTB1X8n2EC35JG73RNHLTwRcA0LTBq0PtQ= ```
e472f98d-2f9b-4098-bf32-1f750f58c2ab
{ "language": "YAML" }
```yaml language: php php: - '5.5' - '5.6' - '7.0' - hhvm - nightly ``` Make Travis do the right thing.
```yaml language: php php: - '5.5' - '5.6' - '7.0' - hhvm - nightly before_script: - composer dump-autoload ```
0a04cc8f-5b28-410e-ba2b-1f0f945cc50a
{ "language": "YAML" }
```yaml language: node_js before_install: - sudo apt-get install build-essential - curl -sL https://github.com/Itseez/opencv/archive/2.4.6.2.zip > opencv.zip - unzip opencv.zip - rm opencv.zip - mkdir opencv-build - cd opencv-build/ - cmake -DCMAKE_BUILD_TYPE=RELEASE -DBUILD_DOCS=OFF -DBUILD_EXAMPLES=OFF -DBUILD_SHARED_LIBS=OFF -DBUILD_TESTS=OFF -DBUILD_PERF_TESTS=OFF -DWITH_OPENEXR=OFF ../opencv-2.4.6.2/ - sudo make install - cd .. ``` Disable WebP, TIFF, Java, Jasper, 3rd party libs like zlib, PNG and JPEG codecs will be build from scratch
```yaml language: node_js before_install: - sudo apt-get install build-essential - curl -sL https://github.com/Itseez/opencv/archive/2.4.6.2.zip > opencv.zip - unzip opencv.zip - rm opencv.zip - mkdir opencv-build - cd opencv-build/ - cmake -DCMAKE_BUILD_TYPE=RELEASE -DBUILD_DOCS=OFF -DBUILD_EXAMPLES=OFF -DBUILD_opencv_java=OFF -DBUILD_SHARED_LIBS=OFF -DBUILD_TESTS=OFF -DBUILD_PERF_TESTS=OFF -DWITH_OPENEXR=OFF -DBUILD_PNG=ON -DWITH_PNG=ON -DWITH_TIFF=OFF -DWITH_WEBP=OFF -DWITH_JPEG=ON -DBUILD_JPEG=ON ../opencv-2.4.6.2/ - sudo make install - cd .. ```
d1951fd1-fcb4-46aa-8952-c682f107e579
{ "language": "YAML" }
```yaml language: scala scala: - 2.11.7 sudo: false script: sbt "+ test" -Dloglevel=debug jdk: - oraclejdk8 - oraclejdk7 branches: only: - develop ``` Use the latest jdk8 in TravisCI
```yaml language: scala scala: - 2.11.8 sudo: false script: sbt "+ test" -Dloglevel=debug jdk: - oraclejdk8 - oraclejdk7 branches: only: - develop addons: apt: packages: - oracle-java8-installer ```
f393caf7-cc1e-4c85-b588-4424df4f7284
{ "language": "YAML" }
```yaml language: java sudo: false # Triggers an update of the OracleJDK distribution. Travis is currently running v8u31 which # exposes problems with the instrumentation of invokedynamic call sites. addons: apt: packages: - oracle-java8-installer branches: only: - master jdk: - oraclejdk8 - oraclejdk7 - openjdk7 - openjdk6 matrix: include: - jdk: oraclejdk8 env: TARGET=-Pjava8 - jdk: oraclejdk7 env: TARGET=-Pjava7 script: mvn verify $TARGET -Pintegration after_success: - mvn clean cobertura:cobertura coveralls:report -Pintegration ``` Remove duplicate build for JDK 7 from Travis. Hope to free sufficient resources to not kill build.
```yaml language: java sudo: false # Triggers an update of the OracleJDK distribution. Travis is currently running v8u31 which # exposes problems with the instrumentation of invokedynamic call sites. addons: apt: packages: - oracle-java8-installer branches: only: - master jdk: - oraclejdk8 - oraclejdk7 - openjdk6 matrix: include: - jdk: oraclejdk8 env: TARGET=-Pjava8 - jdk: oraclejdk7 env: TARGET=-Pjava7 script: mvn verify $TARGET -Pintegration after_success: - mvn clean cobertura:cobertura coveralls:report -Pintegration ```
ebac6c49-77aa-47f0-b365-c365bcb03e42
{ "language": "YAML" }
```yaml language: ruby bundler_args: --without development --deployment --jobs=3 --retry=10 cache: bundler rvm: - 2.1.5 - 2.2.4 - 2.3.0 script: - RAILS_ENV=test bin/setup - RAILS_ENV=test bundle exec rake --trace spec before_script: - psql -c 'create database fauna_development;' -U postgres - psql -c 'create database fauna_test;' -U postgres - cp config/database.yml.travis config/database.yml sudo: false ``` Use Ubuntu Trusty in Travis
```yaml language: ruby bundler_args: --without development --deployment --jobs=3 --retry=10 cache: bundler rvm: - 2.1.5 - 2.2.4 - 2.3.0 script: - RAILS_ENV=test bin/setup - RAILS_ENV=test bundle exec rake --trace spec before_script: - psql -c 'create database fauna_development;' -U postgres - psql -c 'create database fauna_test;' -U postgres - cp config/database.yml.travis config/database.yml sudo: true dist: trusty ```
f5fd1c71-2d33-40bd-9165-2ccf66e7fef8
{ "language": "YAML" }
```yaml sudo: false language: perl perl: - '5.26' - '5.24' - '5.22' - '5.20' - '5.18' - '5.16' - '5.14' before_script: - git clone https://github.com/exercism/problem-specifications.git - bin/fetch-configlet script: - bin/configlet . - prove -r exercises/ ``` Call configlet subcommand on CI
```yaml sudo: false language: perl perl: - '5.26' - '5.24' - '5.22' - '5.20' - '5.18' - '5.16' - '5.14' before_script: - git clone https://github.com/exercism/problem-specifications.git - bin/fetch-configlet script: - bin/configlet lint . - prove -r exercises/ ```
21bedbb4-711c-45a3-8522-491eedfef704
{ "language": "YAML" }
```yaml language: objective-c osx_image: xcode8.2 node_js: - "6" before_script: - npm install -g swiftx script: - ./scripts/build.sh after_success: - ./scripts/execute-on-packages.sh swiftx update-build-config - ./scripts/execute-on-packages.sh swiftx update-dependency-graph - ./scripts/execute-on-packages.sh swiftx trigger-downstream-builds after_failure: - ./scripts/execute-on-packages.sh swiftx trigger-downstream-builds --force ``` Use the correct script name, maybe.
```yaml language: objective-c osx_image: xcode8.2 node_js: - "6" before_script: - npm install -g swiftx script: - ./scripts/build.sh after_success: - ./scripts/exec-on-packages.sh swiftx update-build-config - ./scripts/exec-on-packages.sh swiftx update-dependency-graph - ./scripts/exec-on-packages.sh swiftx trigger-downstream-builds after_failure: - ./scripts/exec-on-packages.sh swiftx trigger-downstream-builds --force ```
afa5b4c2-ffab-4dd5-b459-e657d085cfad
{ "language": "YAML" }
```yaml sudo: false language: ruby rvm: - 2.1.8 - 2.2.4 - 2.3.0 cache: bundler script: "bundle exec rake test" ``` Update Travis RVM targets for 2.1.9
```yaml sudo: false language: ruby rvm: - 2.1.9 - 2.2.4 - 2.3.0 cache: bundler script: "bundle exec rake test" ```
8cc2099a-1e91-4abe-a58b-2b9b1c796ee1
{ "language": "YAML" }
```yaml --- language: ruby bundler_args: --without system_tests --jobs 3 --retry 3 script: "bundle exec rake validate && bundle exec rake lint && bundle exec rake spec SPEC_OPTS='--format documentation'" sudo: false matrix: fast_finish: true include: - rvm: 1.8.7 env: PUPPET_GEM_VERSION="~> 2.7.0" FACTER_GEM_VERSION="~> 1.6.0" - rvm: 1.8.7 env: PUPPET_GEM_VERSION="~> 2.7.0" FACTER_GEM_VERSION="~> 1.7.0" - rvm: 1.9.3 env: PUPPET_GEM_VERSION="~> 3.0" - rvm: 2.0.0 env: PUPPET_GEM_VERSION="~> 3.0" - rvm: 1.9.3 env: PUPPET_GEM_VERSION="~> 3.5.0" STRICT_VARIABLES="yes" - rvm: 2.0.0 env: PUPPET_GEM_VERSION="~> 3.5.0" STRICT_VARIABLES="yes" notifications: email: false ``` Remove support for Puppet 2.7
```yaml --- language: ruby bundler_args: --without system_tests --jobs 3 --retry 3 script: "bundle exec rake validate && bundle exec rake lint && bundle exec rake spec SPEC_OPTS='--format documentation'" sudo: false matrix: fast_finish: true include: - rvm: 1.9.3 env: PUPPET_GEM_VERSION="~> 3.0" - rvm: 2.0.0 env: PUPPET_GEM_VERSION="~> 3.0" - rvm: 1.9.3 env: PUPPET_GEM_VERSION="~> 3.5.0" STRICT_VARIABLES="yes" - rvm: 2.0.0 env: PUPPET_GEM_VERSION="~> 3.5.0" STRICT_VARIABLES="yes" notifications: email: false ```
014861d2-29d7-40d1-9adf-5609825c7fbf
{ "language": "YAML" }
```yaml language: objective-c xcode_project: DBNetworkStack+Sourcing.xcodeproj # path to your xcodeproj folder xcode_scheme: DBNetworkStackSourcing osx_image: xcode8.2 before_install: - export SNAPSHOT_FORCE_DELETE=1 - fastlane snapshot reset_simulators install: - carthage update --platform ios script: - set -o pipefail && xcodebuild -scheme DBNetworkStackSourcing -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone SE,OS=latest' ONLY_ACTIVE_ARCH=NO -enableCodeCoverage YES clean build test | xcpretty after_success: - bash <(curl -s https://codecov.io/bash) ``` Disable binary load of carthage
```yaml language: objective-c xcode_project: DBNetworkStack+Sourcing.xcodeproj # path to your xcodeproj folder xcode_scheme: DBNetworkStackSourcing osx_image: xcode8.2 before_install: - export SNAPSHOT_FORCE_DELETE=1 - fastlane snapshot reset_simulators install: - carthage update --platform ios —no-use-binaries script: - set -o pipefail && xcodebuild -scheme DBNetworkStackSourcing -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone SE,OS=latest' ONLY_ACTIVE_ARCH=NO -enableCodeCoverage YES clean build test | xcpretty after_success: - bash <(curl -s https://codecov.io/bash) ```
15159f70-5932-45db-89b4-734eadc7e7c0
{ "language": "YAML" }
```yaml language: php php: - 5.6 - 5.5 - 5.4 - hhvm before_script: composer install --dev``` Send test report to dox
```yaml language: php php: - 5.6 - 5.5 - 5.4 - hhvm before_script: composer install --dev script: php vendor/phpunit/phpunit/phpunit.php --log-tap report.tap after_script: curl -X POST --data-binary @report.tap http://dox.rtens.org/projects/watoki-stores/reports```
15dd5c89-2cf0-4f24-94fc-ee29401a7d61
{ "language": "YAML" }
```yaml sudo: required dist: trusty addons: apt: sources: - chef-current-trusty packages: - chefdk # Don't `bundle install` which takes about 1.5 mins install: echo "skip bundle install" services: docker env: matrix: - INSTANCE=default-ubuntu-1404 - INSTANCE=default-ubuntu-1604 - INSTANCE=default-centos-6 - INSTANCE=default-centos-7 before_script: - sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER ) - eval "$(/opt/chefdk/bin/chef shell-init bash)" - /opt/chefdk/embedded/bin/chef --version - /opt/chefdk/embedded/bin/cookstyle --version - /opt/chefdk/embedded/bin/foodcritic --version script: KITCHEN_LOCAL_YAML=.kitchen.dokken.yml /opt/chefdk/embedded/bin/kitchen verify ${INSTANCE} matrix: include: - script: - /opt/chefdk/bin/chef exec delivery local all env: UNIT_AND_LINT=1 ``` Simplify Travis config and fix ChefDK 2.0 failures
```yaml sudo: required dist: trusty addons: apt: sources: - chef-current-trusty packages: - chefdk # Don't `bundle install` which takes about 1.5 mins install: echo "skip bundle install" services: docker env: matrix: - INSTANCE=default-ubuntu-1404 - INSTANCE=default-ubuntu-1604 - INSTANCE=default-centos-6 - INSTANCE=default-centos-7 before_script: - sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER ) - eval "$(chef shell-init bash)" - chef --version - cookstyle --version - foodcritic --version script: KITCHEN_LOCAL_YAML=.kitchen.dokken.yml kitchen verify ${INSTANCE} matrix: include: - script: - chef exec delivery local all env: UNIT_AND_LINT=1 ```
293eddda-8878-4658-95e1-904f1c362b16
{ "language": "YAML" }
```yaml language: ruby bundler_args: --without development rvm: - 1.9.3 - 2.0.0 - ruby-head ``` Remove ruby-head from Travis matrix
```yaml language: ruby bundler_args: --without development rvm: - 1.9.3 - 2.0.0 ```
cc37bf35-cb80-4666-8635-ac8034825f0b
{ "language": "YAML" }
```yaml language: rust sudo: false rust: - stable - beta - nightly matrix: include: - rust: 1.32.0 before_script: | set -e if [[ $TRAVIS_RUST_VERSION = 'stable' ]]; then rustup component add rustfmt clippy fi script: | set -e cargo build cargo test ci/check-no-std.sh cargo test --all-features if [[ $TRAVIS_RUST_VERSION = 'stable' ]]; then cargo fmt --all -- --check cargo clippy --all-targets --all-features -- -D warnings fi ``` Update minimum required Rust to 1.36
```yaml language: rust sudo: false rust: - stable - beta - nightly matrix: include: - rust: 1.36.0 before_script: | set -e if [[ $TRAVIS_RUST_VERSION = 'stable' ]]; then rustup component add rustfmt clippy fi script: | set -e cargo build cargo test ci/check-no-std.sh cargo test --all-features if [[ $TRAVIS_RUST_VERSION = 'stable' ]]; then cargo fmt --all -- --check cargo clippy --all-targets --all-features -- -D warnings fi ```
d5dac95f-d0dc-4aa9-8db2-42f9d6e94b6b
{ "language": "YAML" }
```yaml apiVersion: v1 kind: Service metadata: name: jenkins-master labels: app: jenkins namespace: ci spec: ports: - port: 80 targetPort: 8080 protocol: TCP selector: app: jenkins type: LoadBalancer --- apiVersion: v1 kind: ReplicationController metadata: name: jenkins-master labels: app: jenkins namespace: ci spec: replicas: 1 template: metadata: labels: app: jenkins spec: containers: - name: jenkins image: 192.168.64.1:5000/sondabar/jenkins-master:latest ports: - containerPort: 8080 hostPort: 8090 - containerPort: 50000 hostPort: 50000 volumeMounts: - mountPath: /var/jenkins-home name: jenkins-master-volume volumes: - name: jenkins-master-volume emptyDir: {}``` Add jnlp port to service
```yaml apiVersion: v1 kind: Service metadata: name: jenkins-master labels: app: jenkins namespace: ci spec: ports: - port: 80 targetPort: 8080 protocol: TCP name: http - port: 50000 targetPort: 50000 protocol: TCP name: jnlp selector: app: jenkins type: LoadBalancer --- apiVersion: v1 kind: ReplicationController metadata: name: jenkins-master labels: app: jenkins namespace: ci spec: replicas: 1 template: metadata: labels: app: jenkins spec: containers: - name: jenkins image: sondabar/jenkins-master:latest ports: - containerPort: 8080 hostPort: 8090 - containerPort: 50000 hostPort: 50000 volumeMounts: - mountPath: /var/jenkins-home name: jenkins-master-volume volumes: - name: jenkins-master-volume emptyDir: {}```
574e79fe-2e8c-49bb-93c0-7c6a5ef5098a
{ "language": "YAML" }
```yaml sudo: required dist: trusty language: python python: - '2.7' - '3.3' - '3.4' - '3.5' matrix: allow_failures: - python: '2.7' addons: apt: packages: - libattr1-dev - libfuse2 - libfuse-dev - python-dev - python3-dev install: - pip install --upgrade pip - pip --version - pip install 3to2 future - pip install -e .[all] script: ./testall.sh ``` Add other python implementations as allowed failers and unallow 2.7
```yaml sudo: required dist: trusty language: python python: - '2.6' - '2.7' - '3.2' - '3.3' - '3.4' - '3.5' - '3.5-dev' - 'nightly' - 'pypy' - 'pypy3' matrix: allow_failures: - python: '2.6' - python: '3.2' - python: '3.5-dev' - python: 'nightly' - python: 'pypy' - python: 'pypy3' addons: apt: packages: - libattr1-dev - libfuse2 - libfuse-dev - python-dev - python3-dev install: - pip install --upgrade pip - pip --version - pip install 3to2 future - pip install -e .[all] script: ./testall.sh ```
67aebbb6-b6e6-4d9e-b153-8497eaf40c8b
{ "language": "YAML" }
```yaml language: cpp compiler: - clang - gcc env: - BUILD_TYPE=Debug - BUILD_TYPE=Release before_install: install: - mkdir build - cd build - cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DBUILD_TESTS=on .. - make - cd .. script: - cd build - ctest -V``` Switch off FIND_DEPEND option in Travis script.
```yaml language: cpp compiler: - clang - gcc env: - BUILD_TYPE=Debug - BUILD_TYPE=Release before_install: install: - mkdir build - cd build - cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DBUILD_TESTS=on -DFIND_DEPEND=off .. - make - cd .. script: - cd build - ctest -V```
b7412905-bf9e-4612-8a4d-2f3d7eaa5861
{ "language": "YAML" }
```yaml rvm: - 1.8.7 - 1.9.1 - 1.9.2 - 1.9.3 ``` Revert "Testing the build on 1.8.7 and 1.9.1"
```yaml rvm: - 1.9.2 - 1.9.3 ```
a6e635d1-e0e1-4fa8-81f8-c84ea4ae0755
{ "language": "YAML" }
```yaml language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.1 - ruby-head env: - "RAILS_VERSION=3.1.0" - "RAILS_VERSION=3.2.0" - "RAILS_VERSION=4.0.0" - "RAILS_VERSION=master" matrix: allow_failures: - env: "RAILS_VERSION=master" - rvm: ruby-head``` Update ruby versions in Travis matrix
```yaml language: ruby rvm: - 1.9.2 - 1.9.3 - 2.0.0 - 2.1.1 - ruby-head env: - "RAILS_VERSION=3.1.0" - "RAILS_VERSION=3.2.0" - "RAILS_VERSION=4.0.0" - "RAILS_VERSION=master" matrix: allow_failures: - env: "RAILS_VERSION=master" - rvm: ruby-head ```
fe79e179-da28-4a3a-b7a8-c8e1c2b80375
{ "language": "YAML" }
```yaml language: c env: - SMVERSION=1.5 - SMVERSION=1.6 - SMVERSION=1.7 before_install: - sudo apt-get update - sudo apt-get install gcc-multilib - sudo apt-get install lynx before_script: - SMPATTERN="http:.*sourcemod-.*-linux.*" - SMURL="http://www.sourcemod.net/smdrop/$SMVERSION/" - SMPACKAGE=`lynx -dump "$SMURL" | egrep -o "$SMPATTERN" | tail -1` - wget $SMPACKAGE - tar -xzf $(basename "$SMPACKAGE") - cd addons/sourcemod/scripting/ - chmod +x spcomp script: - ./spcomp jetpack_plus.sp - ./spcomp jetpack_bling.sp after_script: - ls *.smx notifications: email: false ``` Allow failures for sourcemod 1.7 build
```yaml language: c env: - SMVERSION=1.5 - SMVERSION=1.6 - SMVERSION=1.7 matrix: fast_finish: true allow_failures: - env: SMVERSION=1.7 before_install: - sudo apt-get update - sudo apt-get install gcc-multilib - sudo apt-get install lynx before_script: - SMPATTERN="http:.*sourcemod-.*-linux.*" - SMURL="http://www.sourcemod.net/smdrop/$SMVERSION/" - SMPACKAGE=`lynx -dump "$SMURL" | egrep -o "$SMPATTERN" | tail -1` - wget $SMPACKAGE - tar -xzf $(basename "$SMPACKAGE") - cd addons/sourcemod/scripting/ - chmod +x spcomp script: - ./spcomp jetpack_plus.sp - ./spcomp jetpack_bling.sp after_script: - ls *.smx notifications: email: false ```
a8529606-d9a6-4ebd-961a-766f241cf6cb
{ "language": "YAML" }
```yaml language: php php: - '5.4' - '5.5' - '5.6' - '7.0' - hhvm - nightly sudo: true addons: mariadb: 10.1 before_install: - mysql --version - mysql -u root -e "create database if not exists test_audit character set = 'utf8' collate='utf8_general_ci';" - mysql -u root -e "create database if not exists test_data character set = 'utf8' collate='utf8_general_ci';" - mysql -u root -e "create user 'test'@'localhost' identified by 'test';" - mysql -u root -e "grant all on test_audit.* to 'test'@'localhost';" - mysql -u root -e "grant all on test_data.* to 'test'@'localhost';" - mysql -u root -e "set global binlog_format = 'row';" - mysql -u root -e "set global log_bin_trust_function_creators = 1;" - mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root -e install: - composer self-update - composer update script: - ./bin/phing unit ``` Load all time zones into MySQL.
```yaml language: php php: - '5.4' - '5.5' - '5.6' - '7.0' - hhvm - nightly sudo: true addons: mariadb: 10.1 before_install: - mysql --version - mysql -u root -e "create database if not exists test_audit character set = 'utf8' collate='utf8_general_ci';" - mysql -u root -e "create database if not exists test_data character set = 'utf8' collate='utf8_general_ci';" - mysql -u root -e "create user 'test'@'localhost' identified by 'test';" - mysql -u root -e "grant all on test_audit.* to 'test'@'localhost';" - mysql -u root -e "grant all on test_data.* to 'test'@'localhost';" - mysql -u root -e "set global binlog_format = 'row';" - mysql -u root -e "set global log_bin_trust_function_creators = 1;" - mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root install: - composer self-update - composer update script: - ./bin/phing unit ```
86784692-a2c2-4480-b704-5b0275d75048
{ "language": "YAML" }
```yaml language: ruby rvm: - 1.8.7 - ree - 1.9.3 ``` Revert "1.9.2 is not supported"
```yaml language: ruby rvm: - 1.8.7 - ree - 1.9.2 - 1.9.3 ```
027cf18b-be92-4ce7-996b-83a22e4579d2
{ "language": "YAML" }
```yaml language: node_js node_js: - "4" - "5" after_script: "./node_modules/.bin/codecov" branches: only: - master before_script: - wget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-3.2.0.tgz -O /tmp/mongodb.tgz - tar -xvf /tmp/mongodb.tgz - mkdir /tmp/data - ${PWD}/mongodb-linux-x86_64-3.2.0/bin/mongod --dbpath /tmp/data --bind_ip 127.0.0.1 --port 27017 &> /dev/null &``` Build against all recent node releases
```yaml language: node_js node_js: - "4" - "5" - "6" after_script: "./node_modules/.bin/codecov" branches: only: - master before_script: - wget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-3.2.0.tgz -O /tmp/mongodb.tgz - tar -xvf /tmp/mongodb.tgz - mkdir /tmp/data - ${PWD}/mongodb-linux-x86_64-3.2.0/bin/mongod --dbpath /tmp/data --bind_ip 127.0.0.1 --port 27017 &> /dev/null & ```
425b76dd-a19f-45c4-9650-ef3a6f3606a5
{ "language": "YAML" }
```yaml # Travis CI Configuration language: node_js node_js: - "10" - "9" - "8" # Installing rsvg-brunch requires a C++11 compiler and librsvg addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-4.8 - librsvg2-dev env: - CXX=g++-4.8 install: - npm install - npm install coveralls script: - npm run lint - npm run coverage after_success: - nyc report --reporter=text-lcov | coveralls ``` Replace Node 10 with Node 6 & 7
```yaml # Travis CI Configuration language: node_js node_js: - "9" - "8" - "7" - "6" # Installing rsvg-brunch requires a C++11 compiler and librsvg addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-4.8 - librsvg2-dev env: - CXX=g++-4.8 install: - npm install - npm install coveralls script: - npm run lint - npm run coverage after_success: - nyc report --reporter=text-lcov | coveralls ```
8c2dc644-a172-4f05-83ac-06a0392af689
{ "language": "YAML" }
```yaml language: rust script: - cargo build - cargo test notifications: email: recipients: - franklinchen@franklinchen.com on_success: never ``` Enable documentation upload for rust-ci.
```yaml language: rust env: global: - secure: dmKHeOySluuwyXckc3YKl9wyfZSr1d8hMSDh4739MW6f1n5xYVXHKECPTnFSUPBjVNQ8Qahw48w2tnezGO1DvOOxYqPe69PGtpaLX3CoOZOvyCOoBgkH+MA8cjz3Ymk8uoPc97OZQdwQ+5XvW0BKsGxbUfnfX29kHewc3Hc+tkM= script: - cargo build --verbose - cargo test --verbose - cargo doc --verbose after_script: - curl http://www.rust-ci.org/artifacts/put?t=$RUSTCI_TOKEN | sh notifications: email: recipients: - franklinchen@franklinchen.com on_success: never ```
d2ef52be-e49d-424c-b82e-c1ed31bf2b97
{ "language": "YAML" }
```yaml language: go go: - 1.7.x services: - rabbitmq env: - AMQP_USERNAME=guest AMQP_PASSWORD=guest AMQP_DEFAULT_PORT=5672 before_install: - go get github.com/streadway/amqp - go get github.com/joho/godotenv - go get -v github.com/golang/lint/golint script: go test -v -cover -tags integration ./... -x ``` Revert "Modifies script to run tests and build test binary"
```yaml language: go go: - 1.7.x services: - rabbitmq env: - AMQP_USERNAME=guest AMQP_PASSWORD=guest AMQP_DEFAULT_PORT=5672 before_install: - go get github.com/streadway/amqp - go get github.com/joho/godotenv - go get -v github.com/golang/lint/golint script: go test -v -cover -tags integration ./exchange ./indices ./connector ./slice ```
7fd9d515-67bc-429f-bb7d-c21b0e8b2811
{ "language": "YAML" }
```yaml language: python sudo: false python: - "3.5" - "3.6" - "nightly" matrix: allow_failures: - python: "nightly" env: - INJECTOR_VERSION="<0.13" FLASK_VERSION=">0.11" - INJECTOR_VERSION=">=0.13" FLASK_VERSION=">0.11" - INJECTOR_VERSION="<0.13" FLASK_VERSION=">0.11,<1.0" - INJECTOR_VERSION=">=0.13" FLASK_VERSION=">0.11,<1.0" install: - pip install flake8 nose==1.3.0 flask$FLASK_VERSION flask_restful flask_restplus injector$INJECTOR_VERSION flask_sqlalchemy eventlet typing mypy typed_ast script: - make test ``` Add Python 3.7 to Travis CI configuration
```yaml language: python sudo: false python: - "3.5" - "3.6" - "nightly" matrix: allow_failures: - python: "nightly" include: - { python: "3.7", dist: xenial, sudo: true } env: - INJECTOR_VERSION="<0.13" FLASK_VERSION=">0.11" - INJECTOR_VERSION=">=0.13" FLASK_VERSION=">0.11" - INJECTOR_VERSION="<0.13" FLASK_VERSION=">0.11,<1.0" - INJECTOR_VERSION=">=0.13" FLASK_VERSION=">0.11,<1.0" install: - pip install flake8 nose==1.3.0 flask$FLASK_VERSION flask_restful flask_restplus injector$INJECTOR_VERSION flask_sqlalchemy eventlet typing mypy typed_ast script: - make test ```
3d08f80d-39ff-4483-8128-b8ed40be81f1
{ "language": "YAML" }
```yaml language: ruby cache: bundler env: - CPLUS_INCLUDE_PATH=/usr/include/atlas C_INCLUDE_PATH=/usr/include/atlas rvm: - "1.9.2" - "1.9.3" - "2.0.0" - "2.1.0" before_install: - sudo apt-get update -qq - sudo apt-get install -qq libatlas-base-dev script: bundle exec rake compile && bundle exec rake spec ``` Add IRC notifications to Travis
```yaml language: ruby cache: bundler env: - CPLUS_INCLUDE_PATH=/usr/include/atlas C_INCLUDE_PATH=/usr/include/atlas rvm: - "1.9.2" - "1.9.3" - "2.0.0" - "2.1.0" before_install: - sudo apt-get update -qq - sudo apt-get install -qq libatlas-base-dev script: bundle exec rake compile && bundle exec rake spec notifications: irc: "chat.freenode.net#sciruby" ```
fb922859-6762-4290-ae94-4dbe48b73e56
{ "language": "YAML" }
```yaml sudo: false language: node_js node_js: - '12' - '14' - '15' branches: only: - master - travis-ci install: - npm install --no-package-lock --no-save - npm install -g nyc prove script: - nyc npm test ``` Build with Node.js 16 on Travis CI.
```yaml sudo: false language: node_js node_js: - '12' - '14' - '16' branches: only: - master - travis-ci install: - npm install --no-package-lock --no-save - npm install -g nyc prove script: - nyc npm test ```
2339b55a-a3ed-48f6-a07f-629a6d6aa25b
{ "language": "YAML" }
```yaml language: ruby cache: bundler rvm: - 2.1.8 - 2.2.4 # install: 'gem install rake -v 10.5 && bundle install --jobs=3 --retry=3 --path=${BUNDLE_PATH:-vendor/bundle}' # script: bundle exec rake matrix: include: - rvm: 2.3.0 before_install: - rvm reinstall ruby-2.3.0 ``` Allow ruby 2.3.0 to fail
```yaml language: ruby cache: bundler rvm: - 2.1.8 - 2.2.4 - 2.3.0 matrix: allow_failures: - rvm: 2.3.0 ```
f79ee544-eb2a-46ab-a1d6-81a611d34160
{ "language": "YAML" }
```yaml language: haskell before_install: # Uncomment whenever hackage is down. # - mkdir -p ~/.cabal && cp config ~/.cabal/config && cabal update # Try installing some of the build-deps with apt-get for speed. - ./travis-cabal-apt-install --only-dependencies --force-reinstall $mode install: - cabal configure $mode - cabal build script: - $script notifications: irc: channels: - "irc.freenode.org#haskell-lens" skip_join: true template: - "\x0313lens\x03/\x0306%{branch}\x03 \x0314%{commit}\x03 %{build_url} %{message}" env: - mode="--enable-tests" script="cabal test" # - mode="--enable-tests -fsafe" script="cabal test" # - mode="--enable-tests -fdump-splices" script="cabal test --show-details=always" # - mode="--enable-benchmarks -fdump-splices" script="cabal bench" ``` Add a workaround for the hackage outage
```yaml language: haskell before_install: # Uncomment whenever hackage is down. - mkdir -p ~/.cabal && cp config ~/.cabal/config && cabal update # Try installing some of the build-deps with apt-get for speed. - ./travis-cabal-apt-install --only-dependencies --force-reinstall $mode install: - cabal configure $mode - cabal build script: - $script notifications: irc: channels: - "irc.freenode.org#haskell-lens" skip_join: true template: - "\x0313lens\x03/\x0306%{branch}\x03 \x0314%{commit}\x03 %{build_url} %{message}" env: - mode="--enable-tests" script="cabal test" # - mode="--enable-tests -fsafe" script="cabal test" # - mode="--enable-tests -fdump-splices" script="cabal test --show-details=always" # - mode="--enable-benchmarks -fdump-splices" script="cabal bench" ```
11187590-0066-401d-a31e-ffd57b7cf401
{ "language": "YAML" }
```yaml sudo: false language: python python: - "2.7" - "3.4" env: - DJANGO_VERSION="django>=1.7,<1.8" - DJANGO_VERSION="django>=1.8,<1.9" # command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors install: - pip install $DJANGO_VERSION --use-mirrors - python setup.py install - pip install -r test_requirements.txt - pip install coveralls # command to run tests, e.g. python setup.py test script: - "coverage run manage.py test" - "coverage report -m" after_success: - coveralls ``` Add Django 1.9.x to the test matrix
```yaml sudo: false language: python python: - "2.7" - "3.4" env: - DJANGO_VERSION="django>=1.7,<1.8" - DJANGO_VERSION="django>=1.8,<1.9" - DJANGO_VERSION="django>=1.9,<1.10" # command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors install: - pip install $DJANGO_VERSION --use-mirrors - python setup.py install - pip install -r test_requirements.txt - pip install coveralls # command to run tests, e.g. python setup.py test script: - "coverage run manage.py test" - "coverage report -m" after_success: - coveralls ```
10b78d10-81a6-41e3-bb60-7531abc49eb2
{ "language": "YAML" }
```yaml language: ruby rvm: - 2.3.1 before_script: gem install jekyll script: bundle exec jekyll build exclude: [vendor] sudo: false deploy: provider: pages skip_cleanup: true github_token: $GITHUB_TOKEN # Set in travis-ci.org dashboard local_dir: _site repo: alexis-hassler/alexis-hassler.github.io target_branch: master``` Support du custom domain dans Travis
```yaml language: ruby rvm: - 2.3.1 before_script: gem install jekyll script: bundle exec jekyll build exclude: [vendor] sudo: false deploy: provider: pages skip_cleanup: true github_token: $GITHUB_TOKEN # Set in travis-ci.org dashboard local_dir: _site repo: alexis-hassler/alexis-hassler.github.io target_branch: master fqdn: blog.alexis-hassler.com```
a500fb06-2693-41c3-aac2-fe12b3e81d05
{ "language": "YAML" }
```yaml language: node_js node_js: - "0.11" - "0.10" - "0.8" - "0.6" ``` Remove nodejs 0.6 from Travis config
```yaml language: node_js node_js: - "0.11" - "0.10" - "0.8" ```
5206b564-2520-4a95-92d2-26149e5af1cc
{ "language": "YAML" }
```yaml matrix: include: - os: osx osx_image: xcode8.3 language: generic - os: osx osx_image: xcode8.2 language: generic - os: osx osx_image: xcode8.1 language: generic - os: osx osx_image: xcode8 language: generic - os: osx osx_image: xcode7.3 language: generic script: - brew install Formula/ocrmypdf.rb ``` Check that --version works too
```yaml matrix: include: - os: osx osx_image: xcode8.3 language: generic - os: osx osx_image: xcode8.2 language: generic - os: osx osx_image: xcode8.1 language: generic - os: osx osx_image: xcode8 language: generic - os: osx osx_image: xcode7.3 language: generic script: - brew install Formula/ocrmypdf.rb - ocrmypdf --version ```
5481f0f5-bc22-4ba0-b1c0-b4c3dbe66f7b
{ "language": "YAML" }
```yaml language: node_js node_js: - '0.10' ``` Configure CI for virtual screen
```yaml language: node_js node_js: - '0.10' before_script: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start ```