Instruction
stringlengths
14
778
input_code
stringlengths
0
4.24k
output_code
stringlengths
1
5.44k
Make tests run with a dummy default project ID.
language: python python: - "2.7" - "pypy" before_install: - sudo rm -f /etc/boto.cfg # command to install dependencies install: - pip install . # command to run tests script: gsutil version -l && gsutil test -u
language: python python: - "2.7" - "pypy" before_install: - sudo rm -f /etc/boto.cfg # command to install dependencies install: - pip install . # command to run tests script: - gsutil version -l - gsutil -o 'GSUtil:default_project_id=999999999' test -u
Drop OpenJDK 13 on Travis CI Fixes gh-102
language: java jdk: - openjdk-ea - openjdk14 - openjdk13 - openjdk11 - openjdk8 after_success: - chmod -R 777 ./travis/after_success.sh - ./travis/after_success.sh env: global: - secure: "dgaO+01IuaJgtHpZ2z3leAfU91vgfRtjJpCuGdhvoSs03uU7kuQGXmm8Fg8b\n8Z8DqBCO+mJY47WNrwlBrb2Xbo12YRxZViG9tEnhvaWogNKJ62wLBIOC/wvD\nLeQZeAcgXQvbA2Ug8Lg0NXxqtI5depdMOHzA2QSApLl2izW97Wc=" - secure: "OowVY4Gao6pTRQFgHHLVx8gEtBeAOH6A7jLubFDzBizLGFFEHvEfV+PckM9C\nHRXpxCjGyWxBu0O9yClda0BXXQhNTGgAvso8A/XvZxr06dHIZy//QoR3U6GS\nzdVPaERRPSJEzDUEHdquhpWLiJd/tQaky9gK70HabjDf7+FcOoo="
language: java jdk: - openjdk-ea - openjdk14 - openjdk11 - openjdk8 after_success: - chmod -R 777 ./travis/after_success.sh - ./travis/after_success.sh env: global: - secure: "dgaO+01IuaJgtHpZ2z3leAfU91vgfRtjJpCuGdhvoSs03uU7kuQGXmm8Fg8b\n8Z8DqBCO+mJY47WNrwlBrb2Xbo12YRxZViG9tEnhvaWogNKJ62wLBIOC/wvD\nLeQZeAcgXQvbA2Ug8Lg0NXxqtI5depdMOHzA2QSApLl2izW97Wc=" - secure: "OowVY4Gao6pTRQFgHHLVx8gEtBeAOH6A7jLubFDzBizLGFFEHvEfV+PckM9C\nHRXpxCjGyWxBu0O9yClda0BXXQhNTGgAvso8A/XvZxr06dHIZy//QoR3U6GS\nzdVPaERRPSJEzDUEHdquhpWLiJd/tQaky9gK70HabjDf7+FcOoo="
Test with latest Node.js 5 on Travis CI.
sudo: false language: node_js node_js: - '0.10' - '0.12' - '4' - '5.1' branches: only: - master - travis-ci before_install: - npm install - npm install istanbul coveralls
sudo: false language: node_js node_js: - '0.10' - '0.12' - '4' - '5' branches: only: - master - travis-ci before_install: - npm install - npm install istanbul coveralls
Remove PHP 5.6 from allow failures.
language: php php: - 5.3 - 5.4 - 5.5 - 5.6 - hhvm before_script: - composer self-update - composer require satooshi/php-coveralls:~0.6 --prefer-source --no-interaction --dev script: phpunit -c phpunit.xml --coverage-text after_script: - if [[ "$TRAVIS_PHP_VERSION" != *hhvm* ]]; then php vendor/bin/coveralls -v; fi matrix: allow_failures: - php: 5.6 - php: hhvm fast_finish: true
language: php php: - 5.3 - 5.4 - 5.5 - 5.6 - hhvm before_script: - composer self-update - composer require satooshi/php-coveralls:~0.6 --prefer-source --no-interaction --dev script: phpunit -c phpunit.xml --coverage-text after_script: - if [[ "$TRAVIS_PHP_VERSION" != *hhvm* ]]; then php vendor/bin/coveralls -v; fi matrix: allow_failures: - php: hhvm fast_finish: true
Upgrade emulator API to 24
script: # By default Travis CI executes './gradlew build connectedCheck' if no 'script:' section found. - ./gradlew clean build connectedCheck language: android jdk: - oraclejdk8 android: components: - tools - build-tools-26.0.1 - android-26 - extra-android-m2repository # System image needed to run emulator - android-23 - sys-img-armeabi-v7a-android-23 before_script: # Create emulator - echo no | android create avd --force -n test -t android-23 --abi armeabi-v7a # Start emulator - emulator -avd test -no-audio -no-window & # Wait for emulator - android-wait-for-emulator - adb shell input keyevent 82 & notifications: email: false
script: # By default Travis CI executes './gradlew build connectedCheck' if no 'script:' section found. - ./gradlew clean build connectedCheck language: android jdk: - oraclejdk8 android: components: - tools - build-tools-26.0.1 - android-26 - extra-android-m2repository # System image needed to run emulator - android-24 - sys-img-armeabi-v7a-android-24 before_script: # Create emulator - echo no | android create avd --force -n test -t android-24 --abi armeabi-v7a # Start emulator - emulator -avd test -no-audio -no-window & # Wait for emulator - android-wait-for-emulator - adb shell input keyevent 82 & notifications: email: false
Update Travis CI config (commands, notifications)
language: php php: - 5.4 - 5.5 git: depth: 25 before_install: - make install dependencies script: make test # whitelist branches: only: - master
language: php php: - 5.4 - 5.5 git: depth: 1 install: - npm install -g grunt-cli - npm install - grunt install script: grunt test notifications: email: false
Drop old ruby support and test against 2.1.6 and 2.2.2
language: ruby jdk: - oraclejdk7 services: - mongodb rvm: - 1.8.7 - 1.9.2 - 1.9.3 - jruby-18mode - jruby-19mode - rbx-18mode - rbx-19mode matrix: allow_failures: - rvm: rbx-19mode - rvm: rbx-18mode
language: ruby jdk: - oraclejdk7 services: - mongodb rvm: - 1.9.3 - 2.1.6 - 2.2.2 - jruby-18mode - jruby-19mode - rbx-18mode - rbx-19mode matrix: allow_failures: - rvm: rbx-19mode - rvm: rbx-18mode - rvm: 2.1.6 - rvm: 2.2.2
Fix OSX build on Travis.
language: csharp sudo: required dist: trusty addons: apt: packages: - gettext - libcurl4-openssl-dev - libicu-dev - libssl-dev - libunwind8 - zlib1g mono: - 4.0.5 os: - linux - osx osx_image: xcode7.1 branches: only: - master - release - dev - /^(.*\/)?ci-.*$/ script: - ./build.sh verify notifications: webhooks: secure: "QLltxzNQ+TUgMurX3FuWB37LVsRx6kZBTXk4JG/BELqO5/Xuwzf8ChElW29d4AbwOeYv5ONYyrvdnLtel8MJCMs8rCxZ2kZZtmUtGdUpPeMavmrvDYQeNqHhFYpLu+bEjxuilGoVI2qonI29S3Q9fC+grXsktGPwPmhyulHbwkk=" on_success: always on_failure: always on_start: always
language: csharp sudo: required dist: trusty addons: apt: packages: - gettext - libcurl4-openssl-dev - libicu-dev - libssl-dev - libunwind8 - zlib1g mono: - 4.0.5 os: - linux - osx osx_image: xcode7.1 branches: only: - master - release - dev - /^(.*\/)?ci-.*$/ before_install: - if test "$TRAVIS_OS_NAME" == "osx"; then brew update; brew install openssl; brew link --force openssl; fi script: - ./build.sh verify notifications: webhooks: secure: "QLltxzNQ+TUgMurX3FuWB37LVsRx6kZBTXk4JG/BELqO5/Xuwzf8ChElW29d4AbwOeYv5ONYyrvdnLtel8MJCMs8rCxZ2kZZtmUtGdUpPeMavmrvDYQeNqHhFYpLu+bEjxuilGoVI2qonI29S3Q9fC+grXsktGPwPmhyulHbwkk=" on_success: always on_failure: always on_start: always
REMOVE command to disable xdebug
sudo: false language: php php: - 5.4 - 5.5 - 5.6 - 7.0 - 7.1 - nightly - hhvm - hhvm-nightly cache: directories: - vendor before_script: - phpenv config-rm xdebug.ini - composer install --dev --no-interaction --prefer-source script: - vendor/bin/phpunit --configuration phpunit.xml --colors --coverage-clover=coverage.clover matrix: allow_failures: - php: hhvm - php: hhvm-nightly
sudo: false language: php php: - 5.4 - 5.5 - 5.6 - 7.0 - 7.1 - nightly - hhvm - hhvm-nightly cache: directories: - vendor before_script: - composer install --dev --no-interaction --prefer-source script: - vendor/bin/phpunit --configuration phpunit.xml --colors --coverage-clover=coverage.clover matrix: allow_failures: - php: hhvm - php: hhvm-nightly
Update Travis: posgresql and postgis versions.
sudo: false language: python cache: pip dist: xenial python: - 3.7 services: - postgresql - docker addons: postgresql: 9.6 apt: packages: - postgresql-9.6-postgis-2.3 branches: only: - master env: global: - SECRET_KEY="SecretKeyForTravisCI" - DATABASE_URL="postgis://postgres@localhost:5432/travis_ci_test" before_install: - docker build -t dbcawa/oim-cms . install: - pip install --upgrade pip - pip install --upgrade setuptools - pip install -r requirements.txt before_script: - psql -U postgres -c "create database travis_ci_test;" - psql -U postgres -d travis_ci_test -c "create extension postgis;" - python manage.py migrate --noinput script: - python manage.py test
sudo: false language: python cache: pip dist: xenial python: - 3.7 services: - postgresql - docker addons: postgresql: 10 apt: packages: - postgresql-10-postgis-2.4 branches: only: - master env: global: - SECRET_KEY="SecretKeyForTravisCI" - DATABASE_URL="postgis://postgres@localhost:5432/travis_ci_test" before_install: - docker build -t dbcawa/oim-cms . install: - pip install --upgrade pip - pip install --upgrade setuptools - pip install -r requirements.txt before_script: - psql -U postgres -c "create database travis_ci_test;" - psql -U postgres -d travis_ci_test -c "create extension postgis;" - python manage.py migrate --noinput script: - python manage.py test
Add more versions of ruby
language: ruby cache: bundler gemfile: - gemfiles/jekyll_v2.gemfile - gemfiles/jekyll_v3.gemfile before_script: bundle update script: ./scripts/test_ci rvm: - 2.2 - 2.1 - 2.0 notifications: email: on_success: never on_failure: never
language: ruby cache: bundler gemfile: - gemfiles/jekyll_v2.gemfile - gemfiles/jekyll_v3.gemfile before_script: bundle update script: ./scripts/test_ci rvm: - 2.4 - 2.3 - 2.2 - 2.1 - 2.0 notifications: email: on_success: never on_failure: never
Add ADMIN_EMAIL env var to Travis
language: ruby rvm: - 2.1.1 services: - mongodb
language: ruby rvm: - 2.1.1 services: - mongodb env: global: - ADMIN_EMAIL=ohanapi@codeforamerica.org
Make dir where json log will end up.
language: php php: - 7.0 - 7.1 cache: directories: - vendor - $HOME/.composer/cache install: - rm composer.lock - composer update --no-scripts - cp .env.testing .env - php artisan clear-compiled - php artisan optimize - php artisan env - cp .env.testing .env - mv storage/database/databasecopy.sqlite storage/database/database.sqlite script: - phpunit -c phpunit.coverage.xml after_success: - travis_retry php vendor/bin/coveralls -x storage/build/clover.xml # safelist branches: only: - develop - master
language: php php: - 7.0 - 7.1 cache: directories: - vendor - $HOME/.composer/cache install: - rm composer.lock - composer update --no-scripts - cp .env.testing .env - php artisan clear-compiled - php artisan optimize - php artisan env - cp .env.testing .env - mv storage/database/databasecopy.sqlite storage/database/database.sqlite - mkdir -p build/logs script: - phpunit -c phpunit.coverage.xml after_success: - travis_retry php vendor/bin/coveralls -x storage/build/clover.xml # safelist branches: only: - develop - master
Update travix to compile with Xcode 9
language: objective-c osx_image: xcode8.2 before_install: - gem install fastlane --no-doc script: - echo $SIMULATOR_ID - open -b com.apple.iphonesimulator --args -CurrentDeviceUDID $SIMULATOR_ID - fastlane scan # - pod lib lint
language: objective-c osx_image: xcode9 before_install: - gem install fastlane --no-doc script: - echo $SIMULATOR_ID - open -b com.apple.iphonesimulator --args -CurrentDeviceUDID $SIMULATOR_ID - fastlane scan # - pod lib lint
Revert "Use halcyon for haskell support on Travis-CI"
sudo: false language: sh env: - HALCYON_GHC_VERSION=7.10.1 HALCYON_CABAL_VERSION=1.22.6.0 HALCYON_CACHE=$HOME/.halcyon-cache cache: directories: - $HOME/.halcyon-cache addons: apt: sources: - debian-sid packages: - shellcheck before_install: - git clone https://github.com/mietek/halcyon.git "$HOME/.halcyon" - export HALCYON_BASE="$HOME/.halcyon" install: - $HOME/.halcyon/halcyon build - $HOME/.halcyon/halcyon paths > halcyon-env - ln -sf $HOME/.halcyon/sandbox/cabal.sandbox.config cabal.sandbox.config - source halcyon-env - cabal install --only-dependencies --enable-tests script: - source halcyon-env - cabal configure --enable-tests - ./tests/run-tests.sh
sudo: false addons: apt: sources: - hvr-ghc - debian-sid packages: - shellcheck - cabal-install-1.22 - ghc-7.10.1 before_install: - export PATH=/opt/ghc/7.10.1/bin:/opt/cabal/1.22/bin:$PATH install: - travis_retry cabal update - cabal sandbox init --sandbox="`pwd`"/.cabal-sandbox - cabal install --only-dependencies --enable-tests script: - cabal configure --enable-tests - ./tests/run-tests.sh
Migrate Travis CI to Container-Based Infrastructure
language: ruby rvm: - 2.2.4 bundler_args: --without development --jobs=9 --retry=2 --quiet before_script: - cp config/config.yml.sample config/config.yml - cp config/database.yml.sample config/database.yml script: - bundle exec rake db:migrate - bundle exec rake spec - bundle exec rake cucumber
language: ruby sudo: false rvm: - 2.2.4 bundler_args: --without development --jobs=9 --retry=2 --quiet before_script: - cp config/config.yml.sample config/config.yml - cp config/database.yml.sample config/database.yml script: - bundle exec rake db:migrate - bundle exec rake spec - bundle exec rake cucumber
Update Travis CI setting since the rust-bindgen’s master requires libclang-3.4 now.
branches: only: - master - rust-0.9 - rust-0.10 - rust-mac env: global: - secure: l/QiDLC5/4FiebGhIVjk3XrA6nUQV9xNZUb/a79UOOgUYWJhtg6TR8EOHQ+GvQcTUVn7QJIESIqOg9AcwcdoNY/iqgDiTIdnm+TlSnGD6gKGN4bswmEJqNUjxYFLt61cqfDuYSF7Iiwywm2Ux5iFt1Bbco9k8uMmqGets9zto84= before_install: - yes | sudo add-apt-repository ppa:hansjorg/rust - yes | sudo apt-key adv --fetch-keys http://repos.codelite.org/CodeLite.asc - yes | sudo apt-add-repository 'deb http://repos.codelite.org/wx3.0/ubuntu/ precise universe' - sudo apt-get update install: - sudo apt-get install rust-nightly libclang-3.3-dev libwxgtk3.0-0-unofficial libwxgtk3.0-dev script: - mkdir -p build - cd build - cmake .. - make - make doc after_script: - curl http://www.rust-ci.org/artifacts/put?t=$RUSTCI_TOKEN | sh >& /dev/null
branches: only: - master - rust-0.9 - rust-0.10 - rust-mac env: global: - secure: l/QiDLC5/4FiebGhIVjk3XrA6nUQV9xNZUb/a79UOOgUYWJhtg6TR8EOHQ+GvQcTUVn7QJIESIqOg9AcwcdoNY/iqgDiTIdnm+TlSnGD6gKGN4bswmEJqNUjxYFLt61cqfDuYSF7Iiwywm2Ux5iFt1Bbco9k8uMmqGets9zto84= before_install: - yes | sudo add-apt-repository ppa:hansjorg/rust - yes | sudo apt-key adv --fetch-keys http://repos.codelite.org/CodeLite.asc - yes | sudo apt-add-repository 'deb http://repos.codelite.org/wx3.0/ubuntu/ precise universe' - sudo apt-get update install: - sudo apt-get install rust-nightly libwxgtk3.0-0-unofficial libwxgtk3.0-dev - sudo apt-get install --force-yes libclang-3.4-dev script: - mkdir -p build - cd build - cmake .. - make - make doc after_script: - curl http://www.rust-ci.org/artifacts/put?t=$RUSTCI_TOKEN | sh >& /dev/null
Drop 5.4 support as minimum requirement for the new SDK is >=5.5
language: php sudo: false php: - 5.4 - 5.5 - 5.6 - 7.0 before_script: - travis_retry composer update --no-interaction script: - make tests
language: php sudo: false php: - 5.5 - 5.6 - 7.0 before_script: - travis_retry composer update --no-interaction script: - make tests
Migrate to Travis CI's Ubuntu 14.04 image
--- language: c script: ./autogen.sh && make all check distcheck # Install a newer version of GJS than available in the default Ubuntu 12.04. before_install: - sudo apt-get update -qq - sudo apt-get install -qq gir1.2-gtk-3.0 - wget http://de.archive.ubuntu.com/ubuntu/pool/main/e/eglibc/libc6_2.19-0ubuntu6.6_amd64.deb - wget http://de.archive.ubuntu.com/ubuntu/pool/main/n/nspr/libnspr4_4.10.7-0ubuntu0.14.04.1_amd64.deb - wget http://de.archive.ubuntu.com/ubuntu/pool/universe/m/mozjs24/libmozjs-24-0_24.2.0-1_amd64.deb - wget http://de.archive.ubuntu.com/ubuntu/pool/main/g/glib2.0/libglib2.0-0_2.40.2-0ubuntu1_amd64.deb - wget http://de.archive.ubuntu.com/ubuntu/pool/main/g/gobject-introspection/libgirepository-1.0-1_1.40.0-1ubuntu0.2_amd64.deb - wget http://de.archive.ubuntu.com/ubuntu/pool/universe/g/gjs/libgjs0e_1.40.1-0ubuntu0.3_amd64.deb - wget http://de.archive.ubuntu.com/ubuntu/pool/universe/g/gjs/gjs_1.40.1-0ubuntu0.3_amd64.deb - sudo dpkg -i libc6_2.19-0ubuntu6.6_amd64.deb libnspr4_4.10.7-0ubuntu0.14.04.1_amd64.deb libmozjs-24-0_24.2.0-1_amd64.deb libglib2.0-0_2.40.2-0ubuntu1_amd64.deb libgirepository-1.0-1_1.40.0-1ubuntu0.2_amd64.deb libgjs0e_1.40.1-0ubuntu0.3_amd64.deb gjs_1.40.1-0ubuntu0.3_amd64.deb - wget http://de.archive.ubuntu.com/ubuntu/pool/main/a/automake-1.14/automake_1.14.1-2ubuntu1_all.deb - sudo dpkg -i automake_1.14.1-2ubuntu1_all.deb
--- language: c script: ./autogen.sh && make all check distcheck sudo: required dist: trusty before_install: - sudo apt-get update -qq - sudo apt-get install -qq gjs
Use deps from master for 2.7
name: ci on: push: paths: - .github/workflows/custom_ci.yml - lib/** - spec/** - Gemfile - Gemfile.devtools - "*.gemspec" pull_request: jobs: tests: runs-on: ubuntu-latest strategy: fail-fast: false matrix: ruby: ["2.7", "2.6", "2.5", "2.4", "jruby"] include: - ruby: "2.7" dry_schema_from_master: "true" dry_types_from_master: "true" coverage: "false" - ruby: "2.7" dry_schema_from_master: "false" dry_types_from_master: "false" coverage: "true" steps: - uses: actions/checkout@v1 - name: Set up Ruby uses: eregon/use-ruby-action@master with: ruby-version: ${{matrix.ruby}} - name: Run all tests env: DRY_SCHEMA_FROM_MASTER: ${{matrix.dry_schema_from_master}} DRY_TYPES_FROM_MASTER: ${{matrix.dry_types_from_master}} COVERAGE: ${{matrix.coverage}} CODACY_RUN_LOCAL: true CODACY_PROJECT_TOKEN: ${{secrets.CODACY_PROJECT_TOKEN}} run: | gem install bundler bundle install --jobs 4 --retry 3 --without tools docs benchmarks bundle exec rake
name: ci on: push: paths: - .github/workflows/custom_ci.yml - lib/** - spec/** - Gemfile - Gemfile.devtools - "*.gemspec" pull_request: jobs: tests: runs-on: ubuntu-latest strategy: fail-fast: false matrix: ruby: ["2.7", "2.6", "2.5", "2.4", "jruby"] include: - ruby: "2.7" dry_schema_from_master: "true" dry_types_from_master: "true" coverage: "true" steps: - uses: actions/checkout@v1 - name: Set up Ruby uses: eregon/use-ruby-action@master with: ruby-version: ${{matrix.ruby}} - name: Run all tests env: DRY_SCHEMA_FROM_MASTER: ${{matrix.dry_schema_from_master}} DRY_TYPES_FROM_MASTER: ${{matrix.dry_types_from_master}} COVERAGE: ${{matrix.coverage}} CODACY_RUN_LOCAL: true CODACY_PROJECT_TOKEN: ${{secrets.CODACY_PROJECT_TOKEN}} run: | gem install bundler bundle install --jobs 4 --retry 3 --without tools docs benchmarks bundle exec rake
Add coverall to gh action
name: Package Tests on: [push] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - name: Validate composer.json and composer.lock run: composer validate - name: Install dependencies run: composer install --prefer-dist --no-progress --no-suggest - name: Run test suite run: ./vendor/bin/codecept run -q --no-colors --coverage-xml - name: Run mutation tests run: ./vendor/bin/infection --min-covered-msi=70 --threads=4 --no-progress --log-verbosity="none"
name: Package Tests on: [push] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - name: Validate composer.json and composer.lock run: composer validate - name: Install dependencies run: composer install --prefer-dist --no-progress --no-suggest - name: Run test suite run: ./vendor/bin/codecept run -q --no-colors --coverage-xml - name: Run mutation tests run: ./vendor/bin/infection --min-covered-msi=70 --threads=4 --no-progress --log-verbosity="none" - name: Run Coveralls reporting run: ./vendor/bin/php-coveralls
Fix actuator healthpoint in docker compose
version: '2.2' services: mariadb: image: mariadb:10.4 volumes: - mariadb_data:/var/lib/mysql environment: - MYSQL_ROOT_PASSWORD= env_file: - db.env ports: - '3306:3306' healthcheck: test: ["CMD", "bash", "-c", "/usr/bin/mysql --user=$$MYSQL_USER --password=$$MYSQL_PASSWORD --execute \"SHOW DATABASES;\""] interval: 3s timeout: 1s retries: 5 app: image: synyx/urlaubsverwaltung:latest ports: - '8080:8080' environment: - SPRING_PROFILES_ACTIVE=default env_file: - db.env volumes: - ./application.properties:/app/application.properties depends_on: mariadb: condition: service_healthy healthcheck: test: ["CMD", "curl", "-f", "http://localhost:8080/health"] interval: 30s timeout: 30s retries: 5 volumes: mariadb_data: {}
version: '2.2' services: mariadb: image: mariadb:10.4 volumes: - mariadb_data:/var/lib/mysql environment: - MYSQL_ROOT_PASSWORD= env_file: - db.env ports: - '3306:3306' healthcheck: test: ["CMD", "bash", "-c", "/usr/bin/mysql --user=$$MYSQL_USER --password=$$MYSQL_PASSWORD --execute \"SHOW DATABASES;\""] interval: 3s timeout: 1s retries: 5 app: image: synyx/urlaubsverwaltung:latest ports: - '8080:8080' environment: - SPRING_PROFILES_ACTIVE=default env_file: - db.env volumes: - ./application.properties:/app/application.properties depends_on: mariadb: condition: service_healthy healthcheck: test: ["CMD", "curl", "-f", "http://localhost:8080/actuator/health"] interval: 30s timeout: 30s retries: 5 volumes: mariadb_data: {}
Detach to allow flexible tests
steps: - name: 'gcr.io/cloud-builders/docker' args: ['build', '-f', 'docker/test/Dockerfile', '-t', 'redissample_test:latest', '.'] - name: 'gcr.io/cloud-builders/docker' args: ['run', '-v', '/workspace:/redissample', 'redissample_test:latest'] - name: 'gcr.io/cloud-builders/docker' args: ['build', '-f', 'docker/prebuild/Dockerfile', '-t', 'redissample_prebuild:latest', '.'] - name: 'gcr.io/cloud-builders/docker' args: ['run', '-v', '/workspace:/redissample', 'redissample_prebuild:latest'] - name: 'gcr.io/cloud-builders/docker' args: ['build', '-t', 'asia.gcr.io/harai-kube-sandbox/redissample', '.'] images: ['asia.gcr.io/harai-kube-sandbox/redissample']
steps: - name: 'gcr.io/cloud-builders/docker' args: ['build', '-f', 'docker/test/Dockerfile', '-t', 'redissample_test:latest', '.'] - name: 'gcr.io/cloud-builders/docker' args: ['run', '-v', '/workspace:/redissample', '-d', '--name', 'redissample-test', 'redissample_test:latest', '/bin/bash', 'infinity'] - name: 'gcr.io/cloud-builders/docker' args: ['exec', 'redissample-test', 'python', 'test/test_app.py'] - name: 'gcr.io/cloud-builders/docker' args: ['build', '-f', 'docker/prebuild/Dockerfile', '-t', 'redissample_prebuild:latest', '.'] - name: 'gcr.io/cloud-builders/docker' args: ['run', '-v', '/workspace:/redissample', 'redissample_prebuild:latest'] - name: 'gcr.io/cloud-builders/docker' args: ['build', '-t', 'asia.gcr.io/harai-kube-sandbox/redissample', '.'] images: ['asia.gcr.io/harai-kube-sandbox/redissample']
Set exceptions to two letter code
files: - source: /_locales/en/*.json translation: /_locales/%two_letters_code%/%original_file_name%
files: - source: /_locales/en/*.json translation: /_locales/%two_letters_code%/%original_file_name% languages_mapping: - two_letters_code: - zh-CN: zh_CN pt-BR: pt_BR zh-TW: zh_TW
Update GH actions test matrix
name: Run Test on: [push, pull_request] jobs: Test: runs-on: ${{ matrix.os }} strategy: matrix: python-version: - '3.6' - '3.7' - '3.8' - '3.9' - '3.10.0-beta - 3.10.0' os: [ubuntu-latest] steps: - name: Check out repository code uses: actions/checkout@v2 with: fetch-depth: 0 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | pip install -r .github/requirements.txt - name: Test with pytest run: | python setup.py test
name: Run Test on: [push, pull_request] jobs: Test: runs-on: ${{ matrix.os }} strategy: matrix: python-version: - '3.6' - '3.7' - '3.8' - '3.9' - '3.10' - '3.11.0-beta - 3.11.0' os: [ubuntu-latest] steps: - name: Check out repository code uses: actions/checkout@v2 with: fetch-depth: 0 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | pip install -r .github/requirements.txt - name: Test with pytest run: | python setup.py test
Exclude consul modules from py24 syntax check
sudo: false language: python addons: apt: sources: - deadsnakes packages: - python2.4 script: - python2.4 -m compileall -fq -x 'cloud/|zabbix|layman.py|maven_artifact.py' .
sudo: false language: python addons: apt: sources: - deadsnakes packages: - python2.4 script: - python2.4 -m compileall -fq -x 'cloud/|zabbix|layman.py|maven_artifact.py|consul' .
Update from Hackage at 2021-12-21T02:57:27Z
homepage: '' changelog-type: '' hash: 31ddfc5ebcbb4811b0c956fd5fcf106643012b46bb4e0bc2f15d09db1d116fbb test-bench-deps: {} maintainer: Hamish Mackenzie <Hamish.K.Mackenzie@googlemail.com> synopsis: DOM library that supports both GHCJS and GHC using jsaddle changelog: '' basic-deps: jsaddle-dom: ! '>=0.9.3.1 && <0.10' all-versions: - 0.3.1.0 - 0.4.0.0 - 0.4.1.0 - 0.5.0.0 - 0.6.0.0 - 0.7.0.0 - 0.7.0.1 - 0.7.0.3 - 0.8.0.0 - 0.9.0.0 - 0.9.1.0 - 0.9.2.0 - 0.9.4.0 author: Hamish Mackenzie latest: 0.9.4.0 description-type: haddock description: |- Documentent Object Model (DOM) functions that work with GHCJS, but can also be used with GHC and a Browser. license-name: MIT
homepage: '' changelog-type: '' hash: 7a903b5d8e2b6ef94174def9bf70e3f870ea96c2f68275069d278c6dcdf2f418 test-bench-deps: {} maintainer: Hamish Mackenzie <Hamish.K.Mackenzie@googlemail.com> synopsis: DOM library that supports both GHCJS and GHC using jsaddle changelog: '' basic-deps: jsaddle-dom: '>=0.9.5.0 && <0.10' all-versions: - 0.3.1.0 - 0.4.0.0 - 0.4.1.0 - 0.5.0.0 - 0.6.0.0 - 0.7.0.0 - 0.7.0.1 - 0.7.0.3 - 0.8.0.0 - 0.9.0.0 - 0.9.1.0 - 0.9.2.0 - 0.9.4.0 - 0.9.5.0 author: Hamish Mackenzie latest: 0.9.5.0 description-type: haddock description: |- Documentent Object Model (DOM) functions that work with GHCJS, but can also be used with GHC and a Browser. license-name: MIT
Add contacts-admin parent field to blacklisted tag types
travel-advice-publisher: # This is a temporary workaround for the fact that 'parent' links # can sometimes be blobs of JSON (containing a breadcrumb, for example) # rather than the array of content IDs content-tagger currently expects. We # need to either improve the editing interface in content tagger to somehow # support this or wait until the publishing API no longer allows writing of # arbitrary JSON to the parent link. - parent
contacts-admin: - parent travel-advice-publisher: # This is a temporary workaround for the fact that 'parent' links # can sometimes be blobs of JSON (containing a breadcrumb, for example) # rather than the array of content IDs content-tagger currently expects. We # need to either improve the editing interface in content tagger to somehow # support this or wait until the publishing API no longer allows writing of # arbitrary JSON to the parent link. - parent
Rename new main config management task
--- # Tasks about Jenkins main configuration management - name: Manage number of executors become : True become_user : "{{ jenkins_etc_user }}" manage_jenkins_main_configuration: number_of_executors: "{{ jenkins_main_cfg_num_executors }}" register: jenkins_change_main_configuration
--- # Tasks about Jenkins main configuration management - name: Manage main configuration with new settings become : True become_user : "{{ jenkins_etc_user }}" manage_jenkins_main_configuration: number_of_executors: "{{ jenkins_main_cfg_num_executors }}" register: jenkins_change_main_configuration
Update from Hackage at 2019-10-14T14:06:00Z
homepage: https://github.com/leftaroundabout/manifolds changelog-type: '' hash: 6d93d7a15e19c05913b06e18272021e50ca786d4492151cffa3533aebd54c7bd test-bench-deps: {} maintainer: (@) jsag $ hvl.no synopsis: Sampling random points on general manifolds. changelog: '' basic-deps: linearmap-category: -any base: ! '>=4.7 && <5' vector-space: -any semigroups: -any manifolds: ==0.5.0.3 random-fu: ! '>=0.2 && <0.3' constrained-categories: -any all-versions: - 0.1.1.0 - 0.3.0.0 - 0.4.0.0 - 0.4.1.0 - 0.4.4.0 - 0.4.5.0 - 0.5.0.0 - 0.5.0.2 - 0.5.0.3 author: Justus Sagemüller latest: 0.5.0.3 description-type: haddock description: '' license-name: GPL-3.0-only
homepage: https://github.com/leftaroundabout/manifolds changelog-type: '' hash: f6703580d8b86fc9d5b2654078882a5b42b3d6335bfd2eb06ea256570883469e test-bench-deps: {} maintainer: (@) jsag $ hvl.no synopsis: Sampling random points on general manifolds. changelog: '' basic-deps: linearmap-category: -any base: ! '>=4.7 && <5' vector-space: -any semigroups: -any manifolds: ==0.5.0.4 random-fu: ! '>=0.2 && <0.3' constrained-categories: -any all-versions: - 0.1.1.0 - 0.3.0.0 - 0.4.0.0 - 0.4.1.0 - 0.4.4.0 - 0.4.5.0 - 0.5.0.0 - 0.5.0.2 - 0.5.0.3 - 0.5.0.4 author: Justus Sagemüller latest: 0.5.0.4 description-type: haddock description: '' license-name: GPL-3.0-only
Update English sentences for cirandasnoface
"en-US": &en-US fb_app_plugin: lib: plugin: name: 'Facebook integration' description: 'Use the Cirandas app for Facebook!' views: myprofile: checking_auth: 'Checking authorization' different_login: 'But you are logged in on facebook as:' current_login: 'You are logged in on facebook as:' connect: 'I want to install Cirandas at Face App' logged_connect: 'Query conectar esta conta do Facebook com meu usuário %{profile} no Cirandas' disconnect: 'Disconnect' connect_to_another: 'Conectar to another Facebook account' reconnect: 'Reconnect' timeline: heading: 'Timeline posting' add: 'Save timeline post settings' catalog: heading: 'Vitrine Cirandas' 'en_US': <<: *en-US 'en': <<: *en-US
"en-US": &en-US fb_app_plugin: lib: plugin: name: 'Facebook integration' description: 'Use the Cirandas app for Facebook!' views: myprofile: checking_auth: 'Checking authorization' different_login: 'But you are logged in on facebook as:' current_login: 'You are logged in on facebook as:' connect: 'I want to install the Cirandas app for Facebook' logged_connect: 'Connect this Facebook account with my user %{profile} at Cirandas' disconnect: 'Disconnect' connect_to_another: 'Conect to another Facebook account' reconnect: 'Reconnect' timeline: heading: 'Timeline posting' add: 'Save timeline post settings' catalog: heading: 'Vitrine Cirandas' 'en_US': <<: *en-US 'en': <<: *en-US
Use Alpine Git image for CI
version: 2 jobs: build: docker: - image: debian:stretch steps: - add-ssh-keys: fingerprints: - '56:76:54:43:c3:70:31:03:b5:ff:20:89:43:af:a2:48' - checkout - run: name: Create slummed mirror of this branch command: git branch slummed/$CIRCLE_BRANCH && git filter-branch --commit-filter ./git-slum.sh slummed/$CIRCLE_BRANCH - run: name: Push the slummed version of the branch command: git push -f origin slummed/$CIRCLE_BRANCH
version: 2 jobs: build: docker: - image: alpine/git steps: - add-ssh-keys: fingerprints: - '56:76:54:43:c3:70:31:03:b5:ff:20:89:43:af:a2:48' - checkout - run: name: Create slummed mirror of this branch command: git branch slummed/$CIRCLE_BRANCH && git filter-branch --commit-filter ./git-slum.sh slummed/$CIRCLE_BRANCH - run: name: Push the slummed version of the branch command: git push -f origin slummed/$CIRCLE_BRANCH
Fix ollivander head on legacy minecraft versions
skull_ollivander: player_head{display:{Name:"{\"text\":\"Ollivander\"}"},SkullOwner:{Id:[I;-810238844,-1257419440,-1615805572,-1442094482],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvODFjMzViY2MxMDM5ZGJkM2NhMmFmNTY4ZmJiNjE4ZWQzZjlmNTVlZTQ2YzQ0MWNmZGY5ZGFkNmE0YmNiZDk1In19fQ=="}]}}}
skull_ollivander: item: skull{display:{Name:"{\"text\":\"Ollivander\"}"},SkullOwner:{Id:[I;-810238844,-1257419440,-1615805572,-1442094482],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvODFjMzViY2MxMDM5ZGJkM2NhMmFmNTY4ZmJiNjE4ZWQzZjlmNTVlZTQ2YzQ0MWNmZGY5ZGFkNmE0YmNiZDk1In19fQ=="}]}}}
Add scikit-learn for knn in determing NERC labels
name: psci channels: - defaults - conda-forge dependencies: - python=3.6 - matplotlib - numpy - pandas>=0.22.0 - jupyter - seaborn - nb_conda_kernels - geopandas - fiona - shapely - xlrd - feather-format - joblib pip: - yapf - watermark
name: psci channels: - defaults - conda-forge dependencies: - python=3.6 - matplotlib - numpy - pandas>=0.22.0 - jupyter - seaborn - nb_conda_kernels - geopandas - fiona - shapely - xlrd - feather-format - joblib - scikit-learn pip: - yapf - watermark
Change Python version for RTD
# Read the Docs configuration file # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details version: 2 sphinx: builder: html configuration: docs/conf.py fail_on_warning: false python: version: 3.9 install: - requirements: requirements/requirements-docs.txt - requirements: requirements/requirements.txt - method: setuptools path: .
# Read the Docs configuration file # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details version: 2 sphinx: builder: html configuration: docs/conf.py fail_on_warning: false python: version: 3.8 install: - requirements: requirements/requirements-docs.txt - requirements: requirements/requirements.txt - method: setuptools path: .
Update from Hackage at 2019-05-29T19:58:31Z
homepage: /dev/null changelog-type: '' hash: 1098959269fdbd55564f0b3ecbb8d9e71b4ce4324593d534ff67cdd50557d586 test-bench-deps: {} maintainer: James Cook <mokus@deepbondi.net> synopsis: |- LibFFI interface with dynamic bidirectional type-driven binding generation changelog: '' basic-deps: base: ! '>=3 && <5' intern: -any contravariant: -any hashable: -any all-versions: - 0.0.0.1 author: James Cook <mokus@deepbondi.net> latest: 0.0.0.1 description-type: haddock description: |- LibFFI interface with support for importing and exporting function types inferred at compile time, constructed at runtime, or a combination of both. license-name: LicenseRef-PublicDomain
homepage: /dev/null changelog-type: '' hash: 1af1f95d3f314b3517a31a42428e4e175666dbec07724fbc54d6dbd530b15812 test-bench-deps: {} maintainer: James Cook <mokus@deepbondi.net> synopsis: |- LibFFI interface with dynamic bidirectional type-driven binding generation changelog: '' basic-deps: base: ! '>=3 && <5' intern: -any contravariant: -any hashable: -any all-versions: - 0.0.0.1 - 0.0.0.2 author: James Cook <mokus@deepbondi.net> latest: 0.0.0.2 description-type: haddock description: |- LibFFI interface with support for importing and exporting function types inferred at compile time, constructed at runtime, or a combination of both. license-name: LicenseRef-PublicDomain
Update from Hackage at 2015-10-27T08:17:08+0000
homepage: '' changelog-type: '' hash: c2a4cb382adac9c906a7b20fcf54ff7906b2952047ca6836ee01b08b3b9f13d8 test-bench-deps: {} maintainer: puttamalac@gmail.com synopsis: Unary natural numbers relying on the singletons infrastructure. changelog: '' basic-deps: base: ! '>=4.7 && <4.9' singletons: ! '>=2.0.1' all-versions: - '0.1.0.0' - '0.1.1.0' - '0.2.0.0' - '0.3.0.0' - '0.3.0.1' - '0.3.1.0' - '0.4.0.0' author: András Kovács latest: '0.4.0.0' description-type: haddock description: '' license-name: BSD3
homepage: https://github.com/AndrasKovacs/singleton-nats changelog-type: '' hash: 052aef630805e1a63d8c4e43dc0d1e06d1b0b8bd7b62eabe9fd9ca10b771a11d test-bench-deps: {} maintainer: puttamalac@gmail.com synopsis: Unary natural numbers relying on the singletons infrastructure. changelog: '' basic-deps: base: ! '>=4.8.1.0 && <4.9' singletons: ! '>=2.0.1' all-versions: - '0.1.0.0' - '0.1.1.0' - '0.2.0.0' - '0.3.0.0' - '0.3.0.1' - '0.3.1.0' - '0.4.0.0' - '0.4.0.1' author: András Kovács latest: '0.4.0.1' description-type: haddock description: Unary natural number relying on the <https://hackage.haskell.org/package/singletons singletons> infrastructure. More information about the general usage of singletons can be found on the <https://github.com/goldfirere/singletons singletons github> page. license-name: BSD3
Update pytest recipe to version 3.2.1
{% set name = "pytest" %} {% set version = "3.2.0" %} {% set sha256 = "0225cf10b9e173f84729d5f4648211458a222c6e53a77a85e104bc5f31c244ee" %} package: name: {{ name|lower }} version: {{ version }} source: fn: {{ name }}-{{ version }}.tar.gz url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz sha256: {{ sha256 }} build: number: 0 noarch: python script: python setup.py install --single-version-externally-managed --record=record.txt entry_points: - py.test = py.test:main requirements: build: - python - py - setuptools - setuptools_scm run: - python - setuptools - py >=1.4.29 test: commands: - py.test -h imports: - pytest about: home: http://pytest.org/ license: MIT license_file: LICENSE summary: 'Simple and powerful testing with Python.' description: | The pytest framework makes it easy to write small tests, yet scales to support complex functional testing for applications and libraries. doc_url: http://pytest.org/latest/contents.html dev_url: https://github.com/pytest-dev/pytest/
{% set name = "pytest" %} {% set version = "3.2.1" %} {% set sha256 = "4c2159d2be2b4e13fa293e7a72bdf2f06848a017150d5c6d35112ce51cfd74ce" %} package: name: {{ name|lower }} version: {{ version }} source: fn: {{ name }}-{{ version }}.tar.gz url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz sha256: {{ sha256 }} build: number: 0 noarch: python script: python setup.py install --single-version-externally-managed --record=record.txt entry_points: - py.test = py.test:main requirements: build: - python - py - setuptools - setuptools_scm run: - python - setuptools - py >=1.4.29 test: commands: - py.test -h imports: - pytest about: home: http://pytest.org/ license: MIT license_file: LICENSE summary: 'Simple and powerful testing with Python.' description: | The pytest framework makes it easy to write small tests, yet scales to support complex functional testing for applications and libraries. doc_url: http://pytest.org/latest/contents.html dev_url: https://github.com/pytest-dev/pytest/
Use 'npm ci' instead of 'npm install'
name: Node.js CI on: [push] jobs: build: runs-on: ubuntu-latest strategy: matrix: node-version: [10.x, 12.x] steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} - run: | npm install npm install react react-dom npm run build --if-present npm test env: CI: true
name: Node.js CI on: [push] jobs: build: runs-on: ubuntu-latest strategy: matrix: node-version: [10.x, 12.x] steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} cache: 'npm' - run: | npm ci npm run build --if-present npm test env: CI: true
Add singledispatch for py27 builds
package: name: databroker version: {{ environ['GIT_DESCRIBE_TAG'] }}.post{{ environ['GIT_DESCRIBE_NUMBER'] }} source: git_url: https://github.com/NSLS-II/databroker git_rev: master build: # Note that this will override the default build string with the Python # and NumPy versions string: {{ environ.get('GIT_BUILD_STR', '') }}_py{{ py }} number: 0 requirements: build: - python run: - python - pandas - pims - metadatastore >=v0.2.0 - filestore >=v0.2.0 - channelarchiver - six - tzlocal test: requires: - nslsii_dev_configuration imports: - databroker - databroker.testing - databroker.examples - databroker.examples.sample_data - databroker.utils about: home: https://github.com/NSLS-II/databroker license: BSD
package: name: databroker version: {{ environ['GIT_DESCRIBE_TAG'] }}.post{{ environ['GIT_DESCRIBE_NUMBER'] }} source: git_url: https://github.com/NSLS-II/databroker git_rev: master build: # Note that this will override the default build string with the Python # and NumPy versions string: {{ environ.get('GIT_BUILD_STR', '') }}_py{{ py }} number: 0 requirements: build: - python run: - python - pandas - pims - metadatastore >=v0.2.0 - filestore >=v0.2.0 - channelarchiver - six - tzlocal - singledispatch [py27] test: requires: - nslsii_dev_configuration imports: - databroker - databroker.testing - databroker.examples - databroker.examples.sample_data - databroker.utils about: home: https://github.com/NSLS-II/databroker license: BSD
Drop testing on node.js 8
language: node_js node_js: - 8 - 10 - 12 script: npm run build && npm test
language: node_js node_js: - 10 - 12 script: npm run build && npm test
Fix git_repo to create dest dir if doesn't exists.
--- # tasks file for qb.git_repo - name: initialize git command: git init args: chdir: "{{ git_repo_dest }}" creates: "{{ git_repo_dest }}/.git" - name: Tell Git to ignore OSX artifacts when: ansible_distribution == "MacOSX" include_role: name: qb.gitignore vars: gitignore_name: Global/macOS gitignore_dest: "{{ git_repo_dest }}" - name: Tell Git to ignore QB artifacts include_role: name: qb.gitignore vars: gitignore_name: QB gitignore_dest: "{{ git_repo_dest }}" - name: >- Tell Git to ignore each of <git_repo_gitignores> with_items: "{{ git_repo_gitignores }}" loop_control: loop_var: name include_role: name: qb.gitignore vars: gitignore_name: "{{ name }}" gitignore_dest: "{{ git_repo_dest }}"
--- # tasks file for qb.git_repo - name: >- Create {{ git_repo_dest }} directory file: dest: >- {{ git_repo_dest }} state: directory - name: >- Initialize git command: git init args: chdir: >- {{ git_repo_dest }} creates: >- {{ git_repo_dest }}/.git - name: >- Tell Git to ignore OSX artifacts when: ansible_distribution == "MacOSX" include_role: name: qb.gitignore vars: gitignore_name: Global/macOS gitignore_dest: >- {{ git_repo_dest }} - name: >- Tell Git to ignore QB artifacts include_role: name: qb.gitignore vars: gitignore_name: QB gitignore_dest: >- {{ git_repo_dest }} - name: >- Tell Git to ignore each of <git_repo_gitignores> with_items: >- {{ git_repo_gitignores }} loop_control: loop_var: name include_role: name: qb.gitignore vars: gitignore_name: >- {{ name }} gitignore_dest: >- {{ git_repo_dest }}
Update CircleCI such that the end-to-end tests are run post unit-tests
machine: node: version: 5.6.0 environment: PATH: "$HOME/.asdf/bin:$HOME/.asdf/shims:$PATH" MIX_ENV: "test" general: artifacts: - "screenshots" dependencies: cache_directories: - ~/.asdf - _build - deps pre: - if ! asdf | grep version; then git clone https://github.com/HashNuke/asdf.git ~/.asdf; fi - if ! asdf plugin-list | grep erlang; then asdf plugin-add erlang https://github.com/HashNuke/asdf-erlang.git; fi - if ! asdf plugin-list | grep elixir; then asdf plugin-add elixir https://github.com/HashNuke/asdf-elixir.git; fi - erlang_version=$(awk '/erlang/ { print $2 }' .tool-versions) && asdf install erlang ${erlang_version} - elixir_version=$(awk '/elixir/ { print $2 }' .tool-versions) && asdf install elixir ${elixir_version} - yes | mix deps.get - yes | mix local.rebar - npm install -g mocha - npm install -g phantomjs - npm install -g webpack - webpack test: override: - mocha - mix test
machine: node: version: 5.6.0 environment: PATH: "$HOME/.asdf/bin:$HOME/.asdf/shims:$PATH" MIX_ENV: "test" general: artifacts: - "screenshots" dependencies: cache_directories: - ~/.asdf - _build - deps pre: - if ! asdf | grep version; then git clone https://github.com/HashNuke/asdf.git ~/.asdf; fi - if ! asdf plugin-list | grep erlang; then asdf plugin-add erlang https://github.com/HashNuke/asdf-erlang.git; fi - if ! asdf plugin-list | grep elixir; then asdf plugin-add elixir https://github.com/HashNuke/asdf-elixir.git; fi - erlang_version=$(awk '/erlang/ { print $2 }' .tool-versions) && asdf install erlang ${erlang_version} - elixir_version=$(awk '/elixir/ { print $2 }' .tool-versions) && asdf install elixir ${elixir_version} - yes | mix deps.get - yes | mix local.rebar - npm install -g mocha - npm install -g phantomjs - npm install -g webpack - webpack test: override: - mocha - mix test - mix e2e
Set u CircleCO to send test coverage
--- machine: ruby: version: '2.2.7' dependencies: pre: - gem install bundler database: override: - bundle install test: override: - bundle exec rake spec
--- machine: ruby: version: '2.2.7' environment: CC_TEST_REPORTER_ID: e0db6fd6beb8208980b2908947735982fb5a4e8a9a3cb742dc194e00df79f388 dependencies: pre: - gem install bundler post: - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter - chmod +x ./cc-test-reporter database: override: - bundle install test: pre: - cc-test-reporter before-build override: - bundle exec rake spec; cc-test-reporter after-build --exit-code $?
Update office hours for fall 17
resources: - number: 0 description: Intro and Lost on the Moon downloads: - name: Slides type: slides link: /cs61a/fa17/assets/Disc00.pdf locations: - type: Office Hours time: TBD location: TBD - type: Discussion time: Th 15:30-17:00 location: 243 Dwinelle - type: Lab time: Tu 15:30-17:00 location: 271 Soda notes: - date: Week 0 content: - text: Welcome to 61A! [Check in for discussion 0 here.](https://v.gd/jc_00) - text: Check out [this page](http://jerryjrchen.com/cs61a/setup) if you're curious about my development setup. - text: Some [section music](https://itunes.apple.com/us/playlist/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/idpl.u-PDb4zA4TkEY2vY).
resources: - number: 0 description: Intro and Lost on the Moon downloads: - name: Slides type: slides link: /cs61a/fa17/assets/Disc00.pdf locations: - type: Office Hours time: M 19:30-20:00 location: 521 Cory - type: Office Hours time: W 18:30-19:30 location: 400 Cory - type: Office Hours time: Th 17:00-18:00 location: 109 Morgan - type: Office Hours time: Th 18:30-19:30 location: 400 Cory - type: Discussion time: Th 15:30-17:00 location: 243 Dwinelle - type: Lab time: Tu 15:30-17:00 location: 271 Soda notes: - date: Week 0 content: - text: Welcome to 61A! [Check in for discussion 0 here.](https://v.gd/jc_00) - text: Check out [this page](http://jerryjrchen.com/cs61a/setup) if you're curious about my development setup. - text: Some [section music](https://itunes.apple.com/us/playlist/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/idpl.u-PDb4zA4TkEY2vY).
Disable 1.9 hash syntax checks
AllCops: Exclude: - '**/*.gemspec' Metrics/CyclomaticComplexity: Max: 20 Metrics/MethodLength: Max: 20 Style/AccessorMethodName: Enabled: False Style/SignalException: Enabled: False Style/GuardClause: Enabled: False Metrics/PerceivedComplexity: Max: 20 Metrics/AbcSize: Max: 50 Metrics/ClassLength: Max: 130
AllCops: Exclude: - '**/*.gemspec' Metrics/CyclomaticComplexity: Max: 20 Metrics/MethodLength: Max: 20 Style/AccessorMethodName: Enabled: False Style/HashSyntax: Enabled: false Style/SignalException: Enabled: False Style/GuardClause: Enabled: False Metrics/PerceivedComplexity: Max: 20 Metrics/AbcSize: Max: 50 Metrics/ClassLength: Max: 130
Fix Rubocop complaining about incorrect check name
AllCops: Exclude: - vendor/**/* - Guardfile AlignParameters: Enabled: false ClassLength: Enabled: false CyclomaticComplexity: Enabled: false Documentation: Enabled: false Encoding: Enabled: false Style/FileName: Enabled: false LineLength: Enabled: false MethodLength: Enabled: false Metrics/AbcSize: Enabled: false PerceivedComplexity: Enabled: false SingleSpaceBeforeFirstArg: Enabled: false Style/ClassAndModuleChildren: Enabled: false Style/FileName: Enabled: false
AllCops: Exclude: - vendor/**/* - Guardfile AlignParameters: Enabled: false ClassLength: Enabled: false CyclomaticComplexity: Enabled: false Documentation: Enabled: false Encoding: Enabled: false Style/FileName: Enabled: false LineLength: Enabled: false MethodLength: Enabled: false Metrics/AbcSize: Enabled: false PerceivedComplexity: Enabled: false SpaceBeforeFirstArg: Enabled: false Style/ClassAndModuleChildren: Enabled: false Style/FileName: Enabled: false
Update DeuFeiTage to 4.4.0 (405)
Categories: - Time License: GPL-3.0-or-later WebSite: https://micmun.github.io/DeuFeiTage/ SourceCode: https://github.com/MicMun/DeuFeiTage IssueTracker: https://github.com/MicMun/DeuFeiTage/issues Changelog: https://github.com/MicMun/DeuFeiTage/blob/HEAD/Changelog.md AutoName: DeuFeiTage Description: |- Find the date of a public holiday for this or another year. * Choose a German state * Choose a year between this year-4 and this year+4 * Every holiday can be touched to show a short description RepoType: git Repo: https://github.com/MicMun/DeuFeiTage.git Builds: - versionName: 4.1.0 versionCode: 402 commit: v4.1.0 subdir: app gradle: - yes - versionName: 4.2.0 versionCode: 403 commit: v4.2.0 subdir: app gradle: - yes - versionName: 4.3.0 versionCode: 404 commit: v4.3.0 subdir: app gradle: - yes AutoUpdateMode: Version v%v UpdateCheckMode: Tags CurrentVersion: 4.3.0 CurrentVersionCode: 404
Categories: - Time License: GPL-3.0-or-later WebSite: https://micmun.github.io/DeuFeiTage/ SourceCode: https://github.com/MicMun/DeuFeiTage IssueTracker: https://github.com/MicMun/DeuFeiTage/issues Changelog: https://github.com/MicMun/DeuFeiTage/blob/HEAD/Changelog.md AutoName: DeuFeiTage Description: |- Find the date of a public holiday for this or another year. * Choose a German state * Choose a year between this year-4 and this year+4 * Every holiday can be touched to show a short description RepoType: git Repo: https://github.com/MicMun/DeuFeiTage.git Builds: - versionName: 4.1.0 versionCode: 402 commit: v4.1.0 subdir: app gradle: - yes - versionName: 4.2.0 versionCode: 403 commit: v4.2.0 subdir: app gradle: - yes - versionName: 4.3.0 versionCode: 404 commit: v4.3.0 subdir: app gradle: - yes - versionName: 4.4.0 versionCode: 405 commit: v4.4.0 subdir: app gradle: - yes AutoUpdateMode: Version v%v UpdateCheckMode: Tags CurrentVersion: 4.4.0 CurrentVersionCode: 405
Set PHP version from matrix.
name: PHP Composer on: push: branches: [ master ] pull_request: branches: [ master ] jobs: build-test: strategy: fail-fast: true matrix: operating-system: [ubuntu-latest] php: ['8.0', '8.1'] name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }} runs-on: ${{ matrix.operating-system }} steps: - uses: actions/checkout@v2 - uses: php-actions/composer@master - name: PHPUnit Tests uses: php-actions/phpunit@v1 with: bootstrap: vendor/autoload.php configuration: phpunit.xml args: --coverage-text - name: Check PHP Version run: php -v
name: PHP Composer on: push: branches: [ master ] pull_request: branches: [ master ] jobs: build-test: strategy: fail-fast: true matrix: operating-system: [ubuntu-latest] php: ['8.0', '8.1'] name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }} runs-on: ${{ matrix.operating-system }} steps: - uses: actions/checkout@v2 - uses: php-actions/composer@master - name: PHPUnit Tests uses: php-actions/phpunit@v1 with: php_version: ${{ matrix.php-versions }} bootstrap: vendor/autoload.php configuration: phpunit.xml args: --coverage-text - name: Check PHP Version run: php -v
Build and run core tests on push to master
name: .NET Core on: push: branches: [ master ] pull_request: branches: [ master ] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Setup .NET Core uses: actions/setup-dotnet@v1 with: dotnet-version: 3.1.301 - name: Install dependencies run: dotnet restore - name: Build run: dotnet build --configuration Release --no-restore - name: Test run: dotnet test --no-restore --verbosity normal
name: .NET Core on: push: branches: [ master ] pull_request: branches: [ master ] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Setup .NET Core uses: actions/setup-dotnet@v1 with: dotnet-version: 3.1.301 - name: Install dependencies run: dotnet restore - name: Build run: dotnet build --configuration Release --no-restore - uses: actions/upload-artifact@v2 with: name: dotnet artifacts path: artifacts/ test: runs-on: ubuntu-latest needs: [build] strategy: matrix: os: [ubuntu-latest, windows-latest] steps: - uses: actions/download-artifact@v2 with: name: dotnet artifacts path: artifacts/ - name: Core Tests run: dotnet test Paramore.Brighter.Core.Tests/Paramore.Brighter.Core.Tests.csproj --configuration Release --no-build working-directory: artifacts/tests
Make sure we can compile mysql2 gem on server
--- - name: Install mysql apt: pkg=mysql-server
--- - name: Install mysql apt: pkg=mysql-server - name: Install bits for compiling mysql clients against apt: pkg=libmysqlclient-dev
Install wordpress in the imicrobe home directory
--- - name: Install unzip for Ansible unarchive command yum: name: unzip state: latest - name: Download wordpress unarchive: src: https://wordpress.org/latest.zip dest: /usr/local/imicrobe/ remote_src: True - name: Copy wp-config.php copy: src: files/wp-config.php dest: /usr/local/imicrobe/wordpress/
--- - name: Install unzip for Ansible unarchive command yum: name: unzip state: latest - name: Download wordpress unarchive: src: https://wordpress.org/latest.zip dest: /home/imicrobe/imicrobe/ remote_src: True become_user: imicrobe - name: Copy wp-config.php copy: src: files/wp-config.php dest: /home/imicrobe/imicrobe/wordpress/ become_user: imicrobe
Include .rubocop.yml in Code Climate configuration
--- engines: duplication: enabled: true config: languages: - ruby fixme: enabled: true rubocop: enabled: true ratings: paths: - Gemfile.lock - "**.rb" exclude_paths: - spec/**/*
--- engines: duplication: enabled: true config: languages: - ruby fixme: enabled: true rubocop: enabled: true ratings: paths: - .rubocop.yml - "**.rb" exclude_paths: - spec/**/*
Fix code climate rating attributes
engines: eslint: enabled: true duplication: enabled: true config: languages: - javascript exclude_paths: - tasks/**
engines: eslint: enabled: true duplication: enabled: true config: languages: - javascript ratings: paths: - "**.js" exclude_paths: - tasks/**
Fix typo in reaper service
apiVersion: v1 kind: ReplicationController metadata: name: stf-reaper labels: app: stf-reaper spec: replicas: 1 selector: app: stf-reaper template: metadata: labels: app: stf-reaper spec: containers: - name: stf-reaper image: dimasaryoprakoso/stf:latest command: ["stf"] args: ["reaperr", "dev", "--connect-push", "tcp://devside.stf.example.org:7270", "--connect-sub", "tcp://appside.stf.example.org:7150", "--heartbeat-timeout", "30000" ] env: - name: RETHINKDB_PORT_28015_TCP value: "tcp://rethinkdb_proxy_host:port" resources: limits: cpu: 100m memory: 256Mi
apiVersion: v1 kind: ReplicationController metadata: name: stf-reaper labels: app: stf-reaper spec: replicas: 1 selector: app: stf-reaper template: metadata: labels: app: stf-reaper spec: containers: - name: stf-reaper image: dimasaryoprakoso/stf:latest command: ["stf"] args: ["reaper", "dev", "--connect-push", "tcp://devside.stf.example.org:7270", "--connect-sub", "tcp://appside.stf.example.org:7150", "--heartbeat-timeout", "30000" ] env: - name: RETHINKDB_PORT_28015_TCP value: "tcp://rethinkdb_proxy_host:port" resources: limits: cpu: 100m memory: 256Mi
Correct schedule for daily update job
apiVersion: batch/v2alpha1 kind: ScheduledJob metadata: name: update-enrollment-data spec: schedule: 0 2 * * ? jobTemplate: spec: template: spec: containers: - name: update image: "berkeleyscheduler/update" imagePullPolicy: Always volumeMounts: - name: enrollment-data mountPath: /berkeley-scheduler volumes: - name: enrollment-data gcePersistentDisk: pdName: enrollment-data-pd fsType: ext4 restartPolicy: Never
apiVersion: batch/v2alpha1 kind: ScheduledJob metadata: name: update-enrollment-data spec: schedule: 30 10 * * ? jobTemplate: spec: template: spec: containers: - name: update image: "berkeleyscheduler/update" imagePullPolicy: Always volumeMounts: - name: enrollment-data mountPath: /berkeley-scheduler volumes: - name: enrollment-data gcePersistentDisk: pdName: enrollment-data-pd fsType: ext4 restartPolicy: Never
Update from Hackage at 2017-11-22T02:31:23Z
homepage: http://rd.slavepianos.org/t/hcg-minus-cairo changelog-type: '' hash: 705f5cd6704fc04ef51d3b7abad936842e224c3327185166d7cc3f1311a8fb42 test-bench-deps: {} maintainer: rd@slavepianos.org synopsis: haskell cg (minus) (cairo rendering) changelog: '' basic-deps: base: ==4.* hcg-minus: ==0.15.* filepath: -any cairo: -any utf8-string: -any colour: -any all-versions: - '0.12' - '0.14' - '0.15' author: Rohan Drape latest: '0.15' description-type: text description: ! 'hcg-minus-cairo =============== [cairo][cairo] rendering for [hcg-minus][hcg-minus] [cairo]: http://cairographics.org/ [hcg-minus]: http://rd.slavepianos.org/t/hcg-minus © [rd][rd], 2009-2014, [gpl][gpl] [rd]: http://rd.slavepianos.org/ [gpl]: http://gnu.org/copyleft/ ' license-name: BSD3
homepage: http://rd.slavepianos.org/t/hcg-minus-cairo changelog-type: '' hash: 6c72b0fa328c4cda2dd04729c060761234607baa04693b0843e2819a20cdaa06 test-bench-deps: {} maintainer: rd@slavepianos.org synopsis: haskell cg (minus) (cairo rendering) changelog: '' basic-deps: base: ==4.* && <5 hcg-minus: ==0.16.* filepath: -any process: -any cairo: -any colour: -any all-versions: - '0.12' - '0.14' - '0.15' - '0.16' author: Rohan Drape latest: '0.16' description-type: text description: ! 'hcg-minus-cairo =============== [cairo][cairo] rendering for [hcg-minus][hcg-minus] [cairo]: http://cairographics.org/ [hcg-minus]: http://rd.slavepianos.org/t/hcg-minus © [rd][rd], 2009-2017, [gpl][gpl] [rd]: http://rd.slavepianos.org/ [gpl]: http://gnu.org/copyleft/ ' license-name: BSD3
Handle efi boot variable entries in systemd-boot
--- - name: install required firmware pacman: name: "{{ systemd_boot.packages }}" update_cache: true when: "'GenuineIntel' in ansible_processor" tags: systemd-boot - name: setup systemd-boot esp copy: src: "{{ item.src }}" dest: "{{ item.dest }}" with_items: "{{ systemd_boot.files }}" tags: systemd-boot - name: setup systemd-boot menu template: src: loader.conf.j2 dest: /boot/loader/loader.conf tags: systemd-boot - name: register root device shell: 'cat /etc/fstab | egrep "\s/\s" | cut -d" " -f1' register: root_uuid changed_when: false tags: systemd-boot - name: setup systemd-boot entries template: src: "entries/arch.conf.j2" dest: "/boot/loader/entries/arch.conf" tags: systemd-boot
--- - name: install required firmware pacman: name: "{{ systemd_boot.packages }}" update_cache: true when: "'GenuineIntel' in ansible_processor" tags: systemd-boot - name: check boot entries command: bootctl status register: boot_entries changed_when: false tags: systemd-boot - name: create systemd-boot efi entry command: bootctl --path=/boot install register: result failed_when: result.rc >= 2 when: boot_entries.stdout.find('Linux Boot Manager') == -1 tags: systemd-boot - name: setup systemd-boot menu template: src: loader.conf.j2 dest: /boot/loader/loader.conf tags: systemd-boot - name: register root device shell: 'cat /etc/fstab | egrep "\s/\s" | cut -d" " -f1' register: root_uuid changed_when: false tags: systemd-boot - name: setup systemd-boot entries template: src: "entries/arch.conf.j2" dest: "/boot/loader/entries/arch.conf" tags: systemd-boot
Remove Rummager RabbitMQ configuration from AWS Prod and AWS Staging
--- govuk::node::s_rabbitmq::apps_using_rabbitmq: - rummager - content_data_api - cache_clearing_service - search_api govuk_rabbitmq::aws_clustering: true govuk_safe_to_reboot::can_reboot: 'careful' govuk_safe_to_reboot::reason: 'rabbitmq-1 is a single point of failure for content-store, apps not resilient' rabbitmq::config_kernel_variables: 'inet_dist_listen_min': '9100' 'inet_dist_listen_max': '9105' rabbitmq::config_variables: 'vm_memory_high_watermark': '0.8' 'cluster_partition_handling': 'pause_minority' rabbitmq::config_additional_variables: 'autocluster': '[ {autocluster_log_level, debug}, {backend, aws}, {aws_autoscaling, true}, {aws_ec2_region, "eu-west-1"} ]' rabbitmq::cluster_node_type: 'disc' rabbitmq::erlang_cookie: 'EOKOWXQREETZSHFNTPEY' rabbitmq::wipe_db_on_cookie_change: true
--- govuk::node::s_rabbitmq::apps_using_rabbitmq: - content_data_api - cache_clearing_service - search_api govuk_rabbitmq::aws_clustering: true govuk_safe_to_reboot::can_reboot: 'careful' govuk_safe_to_reboot::reason: 'rabbitmq-1 is a single point of failure for content-store, apps not resilient' rabbitmq::config_kernel_variables: 'inet_dist_listen_min': '9100' 'inet_dist_listen_max': '9105' rabbitmq::config_variables: 'vm_memory_high_watermark': '0.8' 'cluster_partition_handling': 'pause_minority' rabbitmq::config_additional_variables: 'autocluster': '[ {autocluster_log_level, debug}, {backend, aws}, {aws_autoscaling, true}, {aws_ec2_region, "eu-west-1"} ]' rabbitmq::cluster_node_type: 'disc' rabbitmq::erlang_cookie: 'EOKOWXQREETZSHFNTPEY' rabbitmq::wipe_db_on_cookie_change: true
Add hooks for Gitter on Travis
language: node_js node_js: - "stable" - "iojs" notifications: irc: channels: - "chat.freenode.net#bionode" template: - "%{message}: %{repository}#%{build_number}: %{commit_message} (%{branch} - %{commit} : %{author})"
language: node_js node_js: - "stable" - "iojs" notifications: irc: channels: - "chat.freenode.net#bionode" template: - "%{message}: %{repository}#%{build_number}: %{commit_message} (%{branch} - %{commit} : %{author})" webhooks: urls: - https://webhooks.gitter.im/e/bc08fdd81e88a4b24fed #bionode/bionode - https://webhooks.gitter.im/e/17fa42847fe7c7dd8da7 #bionode/bionode-fastq on_success: change on_failure: always on_start: false
Update from Hackage at 2017-03-24T17:02:17Z
homepage: http://ivorylang.org changelog-type: '' hash: ce24d17f7413b4d6694918421d659988ae859c5809cbe4949198f1572dc52da4 test-bench-deps: {} maintainer: leepike@galois.com synopsis: Ivory C backend. changelog: '' basic-deps: bytestring: ! '>=0.10' mainland-pretty: ! '>=0.2.5' srcloc: -any base: ! '>=4.7 && <5' ivory-artifact: -any ivory: -any filepath: -any process: -any ivory-opts: -any monadLib: ! '>=3.7' containers: -any base-compat: -any language-c-quote: ! '>=0.11.0.0 && <=0.11.7.1' template-haskell: ! '>=2.8' directory: -any all-versions: - '0.1.0.0' - '0.1.0.1' - '0.1.0.3' - '0.1.0.4' - '0.1.0.5' author: Galois, Inc. latest: '0.1.0.5' description-type: haddock description: Ivory compiler, to a subset of C99. license-name: BSD3
homepage: http://ivorylang.org changelog-type: '' hash: 896caeaf7836e16c1e75400cb0d4be531cfdf5bac4c87740c54319b9964c2027 test-bench-deps: {} maintainer: leepike@galois.com synopsis: Ivory C backend. changelog: '' basic-deps: bytestring: ! '>=0.10' mainland-pretty: ! '>=0.2.5' srcloc: -any base: ! '>=4.7 && <5' ivory-artifact: -any ivory: -any filepath: -any process: -any ivory-opts: -any monadLib: ! '>=3.7' containers: -any base-compat: -any language-c-quote: ! '>=0.11.0.0' template-haskell: ! '>=2.8' directory: -any all-versions: - '0.1.0.0' - '0.1.0.1' - '0.1.0.3' - '0.1.0.4' - '0.1.0.5' author: Galois, Inc. latest: '0.1.0.5' description-type: haddock description: Ivory compiler, to a subset of C99. license-name: BSD3
Fix Traivs config again again
language: php php: - 7.0 - 7.1 sudo: false services: - mysql env: - ARTISAN_DB_HOST=127.0.0.1 ARTISAN_DB_PORT=3306 ARTISAN_DB_USER=travis ARTISAN_DB_PASS= cache: directories: - $HOME/.composer/cache before_install: - travis_retry composer self-update - mysql -e 'CREATE DATABASE IF NOT EXISTS suitey_test_default;' - mysql -e 'CREATE DATABASE IF NOT EXISTS suitey_test_foo;' - mysql -e 'CREATE DATABASE IF NOT EXISTS suitey_test_bar;' install: - composer install --no-interaction --prefer-dist --no-suggest script: vendor/bin/phpunit after_success: - bash <(curl -s https://codecov.io/bash)
language: php php: - 7.0 - 7.1 sudo: false services: - mysql env: - ARTISAN_DB_HOST=127.0.0.1 ARTISAN_DB_PORT=3306 ARTISAN_DB_USER=travis ARTISAN_DB_PASS="" cache: directories: - $HOME/.composer/cache before_install: - travis_retry composer self-update - mysql -e 'CREATE DATABASE IF NOT EXISTS suitey_test_default;' - mysql -e 'CREATE DATABASE IF NOT EXISTS suitey_test_foo;' - mysql -e 'CREATE DATABASE IF NOT EXISTS suitey_test_bar;' install: - composer install --no-interaction --prefer-dist --no-suggest script: vendor/bin/phpunit after_success: - bash <(curl -s https://codecov.io/bash)
Enable extglob and globstar so that the pyflakes test works
language: python python: - "3.4" - "3.5.0b3" - "3.5-dev" - "nightly" matrix: allow_failures: - python: "3.5-dev" install: - "python setup.py install" - "pip install pyflakes" script: - py.test - catimg --help - catimg --update --verbose - catimg > /dev/null - pyflakes catimg/**/!(__init__).py setup.py sudo: false
language: python python: - "3.4" - "3.5.0b3" - "3.5-dev" - "nightly" matrix: allow_failures: - python: "3.5-dev" install: - "python setup.py install" - "pip install pyflakes" script: - shopt -s extglob globstar - py.test - catimg --help - catimg --update --verbose - catimg > /dev/null - pyflakes catimg/**/!(__init__).py setup.py sudo: false
Fix coverity config after repo rename
language: c script: make compiler: - clang - gcc before_install: - sudo apt-get update -qq - sudo apt-get install -y libusb-1.0-0-dev # Coverity autoscan env: global: # The next declaration is the encrypted COVERITY_SCAN_TOKEN, created # via the "travis encrypt" command using the project repo's public key secure: "q0IS/BuGHeuMtKnoy6gMt9Epn3JeZ9wuHdIqwplyTqklENP2DPS2s5axcEf9cXJxE0hQKsvXtD87QEH0+ct3AsjqfiNWvs++CaLTNF8DVfpEe96h3+sJuaVZQL5RxF7qR/rhSRCk67AXqn+nu9b9wBtk5+7REFVs2Pn6gxoTAMs=" addons: coverity_scan: project: name: "daniel-dressler/ippusbd" description: "IPP over USB daemon driver for linux" notification_email: danieru.dressler@gmail.com build_command_prepend: build_command: make branch_pattern: master
language: c script: make compiler: - clang - gcc before_install: - sudo apt-get update -qq - sudo apt-get install -y libusb-1.0-0-dev # Coverity autoscan env: global: # The next declaration is the encrypted COVERITY_SCAN_TOKEN, created # via the "travis encrypt" command using the project repo's public key secure: "CtAND8k/8Lfs6o4dmrD9Jp4yLjLQRrv5TZA1MkhSO/LRfViKlbzy7ENv1/ku0xgtnsegFRDFY75/dLHxZUiax5TGNVrHqpkkGSE9h2a5YYHxbOtINb8Hdzk+S2/EN9YPmrOEX1ZjMg/wH08c3MntdW6gDUuddQhjCuaNnH+8fUc=" addons: coverity_scan: project: name: "daniel-dressler/ippusbxd" description: "IPP over USB daemon driver for linux" notification_email: danieru.dressler@gmail.com build_command_prepend: build_command: make branch_pattern: master
Make sure we have the proper cocoapods installed before launch.
# references: # * http://www.objc.io/issue-6/travis-ci.html # * https://github.com/supermarin/xcpretty#usage osx_image: xcode8 language: objective-c xcode_sdk: iphonesimulator10.0 # cache: cocoapods # podfile: Example/Podfile # before_install: # - gem install cocoapods # Since Travis is not always on latest version # - pod install --project-directory=Example script: - set -o pipefail && xcodebuild test -workspace Example/GearKit.xcworkspace -scheme GearKit-Example -sdk iphonesimulator10.0 -destination 'platform=iOS Simulator,name=iPhone 6s Plus,OS=10.1' ONLY_ACTIVE_ARCH=NO | xcpretty - pod lib lint
# references: # * http://www.objc.io/issue-6/travis-ci.html # * https://github.com/supermarin/xcpretty#usage osx_image: xcode8 language: objective-c xcode_sdk: iphonesimulator10.0 before_install: - gem install cocoapods -v '1.1.1' # cache: cocoapods # podfile: Example/Podfile # before_install: # - gem install cocoapods # Since Travis is not always on latest version # - pod install --project-directory=Example script: - set -o pipefail && xcodebuild test -workspace Example/GearKit.xcworkspace -scheme GearKit-Example -sdk iphonesimulator10.0 -destination 'platform=iOS Simulator,name=iPhone 6s Plus,OS=10.1' ONLY_ACTIVE_ARCH=NO | xcpretty - pod lib lint
Use modulesync to manage meta files
--- language: ruby bundler_args: --without development script: "bundle exec rake validate && bundle exec rake lint && bundle exec rake spec SPEC_OPTS='--format documentation'" after_success: ["git clone -q git://github.com/puppetlabs/ghpublisher.git .forge-releng", ".forge-releng/publish"] env: global: - PUBLISHER_LOGIN=camptocamp - secure: "krTjssR+sscucBgnIL3cd2xS9lHYtQHGZYQPd6uN+8/A+E1wQgLzovVO1bTh 8EmruXczHWd1MxPZWUDn13xyLg87Kvl9k7SiUiGygPExI3c+X8vsQQL4MK39 ktfzmSnBSwsS26ViK4q5OugDPxL3psUn/zsYU5sRWYDLjvg0PC8=" 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
--- language: ruby bundler_args: --without development script: "bundle exec rake validate && bundle exec rake lint && bundle exec rake spec SPEC_OPTS='--format documentation'" after_success: ["git clone -q git://github.com/puppetlabs/ghpublisher.git .forge-releng", ".forge-releng/publish"] env: global: - PUBLISHER_LOGIN=camptocamp - secure: "krTjssR+sscucBgnIL3cd2xS9lHYtQHGZYQPd6uN+8/A+E1wQgLzovVO1bTh 8EmruXczHWd1MxPZWUDn13xyLg87Kvl9k7SiUiGygPExI3c+X8vsQQL4MK39 ktfzmSnBSwsS26ViK4q5OugDPxL3psUn/zsYU5sRWYDLjvg0PC8=" 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
Add docker compose integration in the Travis build
language: php sudo: false matrix: include: - php: 5.4 env: - DEPS="low" - php: 5.5 - php: 5.6 - php: 7.0 env: - TEST_COVERAGE=true - php: 7.0 env: - DEPS="lock" - php: 7.1 - php: hhvm allow_failures: - php: hhvm fast_finish: true install: - if [[ $TEST_COVERAGE ]]; then PHPUNIT_FLAGS="--coverage-clover ./build/logs/clover.xml"; fi - if [[ $DEPS == "low" ]]; then composer update --prefer-lowest --prefer-dist --prefer-stable --no-interaction; fi - if [[ $DEPS == "lock" ]]; then composer install --prefer-dist --no-interaction; fi - if [[ !$DEPS ]]; then composer update --prefer-dist --prefer-stable --no-interaction; fi script: - vendor/bin/phpunit -v $PHPUNIT_FLAGS after_success: - if [[ $TEST_COVERAGE ]]; then php vendor/bin/coveralls -v; fi - if [[ $TEST_COVERAGE ]]; then wget https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover ./build/logs/clover.xml; fi
language: php sudo: required services: - docker matrix: include: - php: 5.4 env: - DEPS="low" - php: 5.5 - php: 5.6 - php: 7.0 env: - TEST_COVERAGE=true - php: 7.0 env: - DEPS="lock" - php: 7.1 - php: hhvm allow_failures: - php: hhvm fast_finish: true install: - if [[ $TEST_COVERAGE ]]; then PHPUNIT_FLAGS="--coverage-clover ./build/logs/clover.xml"; fi - if [[ $DEPS == "low" ]]; then composer update --prefer-lowest --prefer-dist --prefer-stable --no-interaction; fi - if [[ $DEPS == "lock" ]]; then composer install --prefer-dist --no-interaction; fi - if [[ !$DEPS ]]; then composer update --prefer-dist --prefer-stable --no-interaction; fi before_script: - docker-compose up -d script: - vendor/bin/phpunit -v $PHPUNIT_FLAGS after_success: - if [[ $TEST_COVERAGE ]]; then php vendor/bin/coveralls -v; fi - if [[ $TEST_COVERAGE ]]; then wget https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover ./build/logs/clover.xml; fi
Remove rubinius due to native extensions.
script: "git submodule update --init && rake test" rvm: - 1.8.7 - 1.9.2 - ree - rbx - jruby
script: "git submodule update --init && rake test" rvm: - 1.8.7 - 1.9.2 - ree - jruby
Add environment variables, remove mongodb default dependency
language: node_js node_js: - "4.2" services: - mongodb install: - npm install 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 --auth &> /dev/null & - until nc -z localhost 27017; do echo Waiting for MongoDB; sleep 1; done script: - npm test sudo: false
language: node_js node_js: - "4.2" env: - COBALT_MONGO_URI=mongodb://localhost:27017/cobalt install: - npm install 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 --auth &> /dev/null & - until nc -z localhost 27017; do echo Waiting for MongoDB; sleep 1; done script: - npm test sudo: false
Replace support for Node.js 6.x with 12.x
branches: only: - master language: node_js os: - linux sudo: false services: - docker node_js: - "10" - "8" - "6" cache: directories: - node_modules matrix: fast_finish: true git: depth: 1 install: - npm install - npm install coveralls --save-dev before_script: - npm run build; script: - npm run nyc-ci after_success: - npm run coverage - npm pack - 'if [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_NODE_VERSION" == "8" ]; then docker build -t rcjsuen/docker-langserver . || travis_terminate 1; docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD" || travis_terminate 1; docker push rcjsuen/docker-langserver || travis_terminate 1; fi'
branches: only: - master language: node_js os: - linux sudo: false services: - docker node_js: - "12" - "10" - "8" cache: directories: - node_modules matrix: fast_finish: true git: depth: 1 install: - npm install - npm install coveralls --save-dev before_script: - npm run build; script: - npm run nyc-ci after_success: - npm run coverage - npm pack - 'if [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_NODE_VERSION" == "8" ]; then docker build -t rcjsuen/docker-langserver . || travis_terminate 1; docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD" || travis_terminate 1; docker push rcjsuen/docker-langserver || travis_terminate 1; fi'
Use 18.2 instead of 18.2.1
language: erlang otp_release: - 18.0 - 18.1 - 18.2.1 - 18.3 - 19.0 sudo: false script: "make compile && rm -rf .git && make test" notifications: irc: "irc.freenode.org#elixir-lang" recipients: - jose.valim@plataformatec.com.br - eric.meadows.jonsson@gmail.com
language: erlang otp_release: - 18.0 - 18.1 - 18.2 - 18.3 - 19.0 sudo: false script: "make compile && rm -rf .git && make test" notifications: irc: "irc.freenode.org#elixir-lang" recipients: - jose.valim@plataformatec.com.br - eric.meadows.jonsson@gmail.com
Add extra partition to integration postgres primary
--- lv: postgresql: pv: - '/dev/sda1' - '/dev/sdc1' - '/dev/sde1' vg: 'backups' data: pv: '/dev/sdd1' vg: 'postgresql'
--- lv: postgresql: pv: - '/dev/sda1' - '/dev/sdc1' - '/dev/sde1' - '/dev/sdf1' vg: 'backups' data: pv: '/dev/sdd1' vg: 'postgresql'
Update from Hackage at 2021-12-19T12:51:01Z
homepage: '' changelog-type: markdown hash: 04e6d261d7ca3de38b9a7cc7c98a3d35d6385db015fc9de5f6cd1d609df680b1 test-bench-deps: base: '>=4 && <5' text: '>=1.2.2.2' quickcheck-instances: '>=0.3.27' futhark-manifest: -any tasty-quickcheck: -any tasty-hunit: -any tasty: -any QuickCheck: '>=2.8' maintainer: athas@sigkill.dk synopsis: Definition and serialisation instances for Futhark manifests. changelog: | # Revision history for futhark-manifest ## 0.1.0.0 -- YYYY-mm-dd * First version. Released on an unsuspecting world. basic-deps: bytestring: '>=0.10.8' base: '>=4.14.3.0' text: '>=1.2.2.2' containers: '>=0.6.2.1' aeson: '>=2.0.0.0' all-versions: - 1.0.0.0 author: Troels Henriksen latest: 1.0.0.0 description-type: haddock description: The Futhark compiler generates JSON manifest files that describe the C API of a compiled program. This package provides definitions for reading and writing such files. license-name: ISC
homepage: '' changelog-type: markdown hash: d38398022482d4411fcef39b98dc56ae938fc1d1171cbc7bfc79399814f45f25 test-bench-deps: base: '>=4 && <5' text: '>=1.2.2.2' quickcheck-instances: '>=0.3.27' futhark-manifest: -any tasty-quickcheck: -any tasty-hunit: -any tasty: -any QuickCheck: '>=2.8' maintainer: athas@sigkill.dk synopsis: Definition and serialisation instances for Futhark manifests. changelog: | # Revision history for futhark-manifest ## 0.1.0.0 -- YYYY-mm-dd * First version. Released on an unsuspecting world. basic-deps: bytestring: '>=0.10.8' base: '>=4 && <5' text: '>=1.2.2.2' containers: '>=0.6.2.1' aeson: '>=2.0.0.0' all-versions: - 1.0.0.0 author: Troels Henriksen latest: 1.0.0.0 description-type: haddock description: The Futhark compiler generates JSON manifest files that describe the C API of a compiled program. This package provides definitions for reading and writing such files. license-name: ISC
Remove comments that aren't true anymore
--- # This playbook is for provisioning on a Linode box. It should be at least a Linode 2048 box and have # 64 bit Ubuntu 12.04 LTS with 256 MB swap (I think). # To run: # cd provisioning # ansible-playbook -i hosts playbook.yml # - hosts: all sudo: true # Uncomment the user line below if you are using this playbook directly from ansible using "ansible-playbook" # rather than running it through vagrant user: root roles: - morph-app
--- # This playbook is for provisioning on a Linode box. It should be at least a Linode 2048 box and have # 64 bit Ubuntu 12.04 LTS with 256 MB swap (I think). # To run: # cd provisioning # ansible-playbook -i hosts playbook.yml # - hosts: all sudo: true user: root roles: - morph-app
Increase min rustc version to 1.22
language: rust rust: - stable - beta - nightly - 1.20.0 notifications: email: on_success: never
language: rust rust: - stable - beta - nightly - 1.22.0 notifications: email: on_success: never
Undo change to Travis CI configuration
language: php php: - 5.3 dist: precise - 5.4 - 5.5 - 5.6 - 7.0 - 7.1 - hhvm install: travis_retry composer install --no-interaction --prefer-source script: - vendor/bin/phpunit # - vendor/bin/phpcs --standard=phpcs.xml src matrix: allow_failures: - php: hhvm fast_finish: true
language: php php: - 5.3 - 5.4 - 5.5 - 5.6 - 7.0 - 7.1 - hhvm install: travis_retry composer install --no-interaction --prefer-source script: - vendor/bin/phpunit # - vendor/bin/phpcs --standard=phpcs.xml src matrix: allow_failures: - php: hhvm fast_finish: true
Deploy on master branch only
language: android jdk: - oraclejdk8 android: components: - tools - platform-tools - build-tools-27.0.3 - android-27 - extra-android-m2repository licenses: - android-sdk-license-.+ before_script: - yes | sdkmanager "platforms;android-27" script: - ./gradlew clean test - ./gradlew clean assemble deploy: - provider: script script: scripts/deploy.sh on: # switch to master all_branches: true
language: android jdk: - oraclejdk8 android: components: - tools - platform-tools - build-tools-27.0.3 - android-27 - extra-android-m2repository licenses: - android-sdk-license-.+ before_script: - yes | sdkmanager "platforms;android-27" script: - ./gradlew clean build deploy: - provider: script script: scripts/deploy.sh on: branch: master
Build on Ubuntu Trusty container and enable IPv6 beforehand
language: node_js os: osx node_js: - "4" - "6" - "8" - "9"
language: node_js sudo: false dist: trusty before_script: sudo sh -c 'echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6' node_js: - "4" - "6" - "8" - "9"
Use script stage to return exit codes for docker build
language: go sudo: required services: - docker go: - tip before_install: - sudo apt-get update - sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce - sudo docker --version install: true script: - ./.travis-test.sh after_success: - bash <(curl -s https://codecov.io/bash) - if [ "$TRAVIS_BRANCH" == "master" ]; then docker build -t snagles/docker-registry-manager .; docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"; docker push snagles/docker-registry-manager; fi - if [ "$TRAVIS_BRANCH" == "develop" ]; then docker build -t snagles/docker-registry-manager:develop .; docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"; docker push snagles/docker-registry-manager:develop; fi
language: go sudo: required services: - docker go: - tip before_install: - sudo apt-get update - sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce - sudo docker --version install: true script: - ./.travis-test.sh - bash <(curl -s https://codecov.io/bash) - if [ "$TRAVIS_BRANCH" == "master" ]; then docker build -t snagles/docker-registry-manager .; docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"; docker push snagles/docker-registry-manager; fi - if [ "$TRAVIS_BRANCH" == "develop" ]; then docker build -t snagles/docker-registry-manager:develop .; docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"; docker push snagles/docker-registry-manager:develop; fi
Remove support for ruby 2.1
language: ruby before_install: - gem install bundler -v '~> 1.5' rvm: - 2.1.10 - 2.2.6 - 2.3.3 - 2.4.0 - 2.4.1 bundler_args: --without debug deploy: provider: rubygems api_key: secure: JxDBiuSJgTyne4WriC56QqOhhl07ojHN/qZerKyxabBj1yQ/GmxlzcdvXdU6eUFJ1E3BvrfrMmraJ28xADm2hG3xgxkNP/D7jqTv0o0h2CODh+W2dr0iv3bNkoDOfjChNrJZCLPXJbuQp8G3O/KJS84g4l4dEIRIRTCS/0yMEBc= gem: correios_sigep on: repo: duduribeiro/correios_sigep
language: ruby before_install: - gem install bundler -v '~> 1.5' rvm: - 2.2.6 - 2.3.3 - 2.4.0 - 2.4.1 bundler_args: --without debug deploy: provider: rubygems api_key: secure: JxDBiuSJgTyne4WriC56QqOhhl07ojHN/qZerKyxabBj1yQ/GmxlzcdvXdU6eUFJ1E3BvrfrMmraJ28xADm2hG3xgxkNP/D7jqTv0o0h2CODh+W2dr0iv3bNkoDOfjChNrJZCLPXJbuQp8G3O/KJS84g4l4dEIRIRTCS/0yMEBc= gem: correios_sigep on: repo: duduribeiro/correios_sigep
Add quiet option to pip to prevent clogging up log.
language: python python: - "2.7" before_install: - sudo apt-get update -qq - sudo apt-get install -y pylint - sudo pip install matplotlib pyhull install: true script: npm test deploy: provider: heroku api_key: secure: hHFVh5+TA5U1iyFgqQuzLSjRrN4BFWEyUerUUtn589NiMDJFtE3SA1okJIQTlq2w/iAhBqjgMoDG0rMB6NVM/i7oobMdlQJfSOEt3FlCFGl+0r2RaHxF4YaCDMEjCv/+y6Of0ifjAHwYF/p0mu9WwM86Yhc4ajfiYI602i3i4Xs= app: master: bce-simulation
language: python python: - "2.7" before_install: - sudo apt-get update -qq - sudo apt-get install -y pylint - sudo pip install -q matplotlib pyhull install: true script: npm test deploy: provider: heroku api_key: secure: hHFVh5+TA5U1iyFgqQuzLSjRrN4BFWEyUerUUtn589NiMDJFtE3SA1okJIQTlq2w/iAhBqjgMoDG0rMB6NVM/i7oobMdlQJfSOEt3FlCFGl+0r2RaHxF4YaCDMEjCv/+y6Of0ifjAHwYF/p0mu9WwM86Yhc4ajfiYI602i3i4Xs= app: master: bce-simulation
Remove IRC notifications for Travis.
branches: only: - master sudo: false language: python cache: directories: - "$HOME/.cache/pip" matrix: include: - python: pypy - python: '2.7' install: - pip install -U pip setuptools wheel - pip install epsilon pytz pycrypto 'cryptography < 1.0' - pip install . script: - "$(type -p trial) entropy" notifications: email: false irc: channels: - secure: sVHE1vDHZOgB6mvQEv7zRqvS2Sg4vMCnlGxWhB3EvQ0hzJ+7lGLaQXjblstGYgpA+ohex0+s+cKcGlr+oeISTH9v9DZJv+XoPh7Z8CNxgoEjjVhivwOQFOGl9wwQ86pryNwVAdTlgK5l23dNF5ZYvnsj2yzL7/l3ht+0M1TvWok= slack: secure: lqGRJQkQSBw9zX/AXqaPXVShw00TNncVvMAAj6q7jsLn17aCPmL5N0wmKWO6Oibdmu2EuehosCCN5JQ00tQ2zfi9sCGFtA5AC7Uxl2bi9rgBaW/HWSTc2q0ghi4v0MMCuxadOWOgjhRMKYNg37tIAuUYvJeB3kG8NFZgHKsxg0I=
branches: only: - master sudo: false language: python cache: directories: - "$HOME/.cache/pip" matrix: include: - python: pypy - python: '2.7' install: - pip install -U pip setuptools wheel - pip install epsilon pytz pycrypto 'cryptography < 1.0' - pip install . script: - "$(type -p trial) entropy" notifications: email: false slack: secure: lqGRJQkQSBw9zX/AXqaPXVShw00TNncVvMAAj6q7jsLn17aCPmL5N0wmKWO6Oibdmu2EuehosCCN5JQ00tQ2zfi9sCGFtA5AC7Uxl2bi9rgBaW/HWSTc2q0ghi4v0MMCuxadOWOgjhRMKYNg37tIAuUYvJeB3kG8NFZgHKsxg0I=
Change python: and env: to matrix:
# Config file for automatic testing at travis-ci.org sudo: false language: python python: 3.5 env: - TOX_ENV=py27 - TOX_ENV=py33 - TOX_ENV=py34 - TOX_ENV=py35 - TOX_ENV=py36 - TOX_ENV=pypy - TOX_ENV=flake8 script: tox -e $TOX_ENV install: - pip install tox after_success: # Report coverage results to codecov.io # and export tox environment variables - pip install codecov - codecov -e TOX_ENV TRAVIS_OS_NAME
# Config file for automatic testing at travis-ci.org sudo: false language: python matrix: include: - python: 2.7 env: TOX_ENV=py27 - python: 3.3 env: TOX_ENV=py33 - python: 3.4 env: TOX_ENV=py34 - python: 3.5 env: TOX_ENV=py35 - python: nightly env: TOX_ENV=py36 - python: pypy env: TOX_ENV=pypy - python: 3.5 env: TOX_ENV=flake8 script: tox -e $TOX_ENV install: - pip install tox after_success: # Report coverage results to codecov.io # and export tox environment variables - pip install codecov - codecov -e TOX_ENV TRAVIS_OS_NAME
Fix file path of coverage test
language: node_js node_js: - node after_script: - codeclimate-test-reporter < lcov.info
language: node_js node_js: - node after_script: - codeclimate-test-reporter < ./coverage/lcov.info
Remove allowed failures, add Ruby 2.1.5 to matrix
language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.3 - 2.1.5 env: COVERAGE=true script: 'bundle exec rspec' matrix: allowed_failures: - rvm: jruby-head notifications: email: false
language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.5 env: COVERAGE=true script: 'bundle exec rspec' notifications: email: false
Enable container infrastructure on Travis
language: node_js node_js: - "0.8" - "0.10" git: depth: 10 branches: only: - master before_install: - npm install -g npm - npm --version matrix: allow_failures: - node_js: "0.8"
language: node_js node_js: - "0.8" - "0.10" git: depth: 10 branches: only: - master before_install: - npm install -g npm - npm --version sudo: false matrix: allow_failures: - node_js: "0.8"
Revert "Use latest versions of Android SDK Tools, Platform Tools, and Build Tools"
language: android jdk: - oraclejdk8 env: global: - ANDROID_SDK_VERSION=23 - JPM_BIN=${HOME}/jpm/bin - JPM_HOME=${HOME}/jpm android: components: - tools-preview - platform-tools-preview - build-tools-24.0.0-preview - android-${ANDROID_SDK_VERSION} - extra-android-m2repository before_install: - curl -sL http://bit.ly/jpm4j > jpm4j.jar - java -jar jpm4j.jar --home ${JPM_HOME} --bindir ${JPM_BIN} init - ${JPM_BIN}/jpm install com.codacy:codacy-coverage-reporter:assembly script: - ./gradlew clean assembleDebug checkstyle lintDebug testDebugUnitTest createDebugCoverageReport -PdisablePreDex after_success: - ${JPM_BIN}/codacy-coverage-reporter --projectToken ${CODACY_PROJECT_TOKEN} --language Java --coverageReport app/build/reports/coverage/debug/report.xml before_cache: - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock cache: directories: - $HOME/.gradle/caches/ - $HOME/.gradle/wrapper/
language: android jdk: - oraclejdk8 env: global: - ANDROID_BUILD_TOOLS_VERSION=24.0.0-rc2 - ANDROID_SDK_VERSION=23 - JPM_BIN=${HOME}/jpm/bin - JPM_HOME=${HOME}/jpm android: components: - tools - platform-tools - build-tools-${ANDROID_BUILD_TOOLS_VERSION} - android-${ANDROID_SDK_VERSION} - extra-android-m2repository before_install: - curl -sL http://bit.ly/jpm4j > jpm4j.jar - java -jar jpm4j.jar --home ${JPM_HOME} --bindir ${JPM_BIN} init - ${JPM_BIN}/jpm install com.codacy:codacy-coverage-reporter:assembly script: - ./gradlew clean assembleDebug checkstyle lintDebug testDebugUnitTest createDebugCoverageReport -PdisablePreDex after_success: - ${JPM_BIN}/codacy-coverage-reporter --projectToken ${CODACY_PROJECT_TOKEN} --language Java --coverageReport app/build/reports/coverage/debug/report.xml before_cache: - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock cache: directories: - $HOME/.gradle/caches/ - $HOME/.gradle/wrapper/
Switch to pod lib lint.
language: objective-c osx_image: xcode7.3 install: - carthage bootstrap --no-use-binaries - git clone https://github.com/facebook/xctool.git script: - xctool/xctool.sh -project "Alexander.xcodeproj" -scheme "Alexander-iOS" -sdk "iphonesimulator" build test - xctool/xctool.sh -project "Alexander.xcodeproj" -scheme "Alexander-macOS" -sdk "macosx" build test - pod spec lint
language: objective-c osx_image: xcode7.3 install: - carthage bootstrap --no-use-binaries - git clone https://github.com/facebook/xctool.git script: - xctool/xctool.sh -project "Alexander.xcodeproj" -scheme "Alexander-iOS" -sdk "iphonesimulator" build test - xctool/xctool.sh -project "Alexander.xcodeproj" -scheme "Alexander-macOS" -sdk "macosx" build test - pod lib lint
Use trusty dist for Travis builds
language: php env: global: - COMPOSER_ROOT_VERSION=2.0.x-dev matrix: include: - php: 5.6 env: DB=MYSQL PHPCS_TEST=1 PHPUNIT_TEST=1 - php: 7.0 env: DB=MYSQL PHPUNIT_TEST=1 - php: 7.1 env: DB=PGSQL PHPUNIT_COVERAGE_TEST=1 before_script: # Init PHP - phpenv rehash - phpenv config-rm xdebug.ini # Install composer dependencies - composer validate - composer require --no-update silverstripe/recipe-core:1.0.x-dev - if [[ $DB == PGSQL ]]; then composer require --no-update silverstripe/postgresql 2.0.x-dev; fi - composer install --prefer-dist --no-interaction --no-progress --no-suggest --optimize-autoloader --verbose --profile script: - if [[ $PHPUNIT_TEST ]]; then vendor/bin/phpunit; fi - if [[ $PHPUNIT_COVERAGE_TEST ]]; then phpdbg -qrr vendor/bin/phpunit --coverage-clover=coverage.xml; fi - if [[ $PHPCS_TEST ]]; then vendor/bin/phpcs src/ tests/ *.php; fi after_success: - if [[ $PHPUNIT_COVERAGE_TEST ]]; then bash <(curl -s https://codecov.io/bash) -f coverage.xml; fi
language: php dist: trusty env: global: - COMPOSER_ROOT_VERSION=2.0.x-dev matrix: include: - php: 5.6 env: DB=MYSQL PHPCS_TEST=1 PHPUNIT_TEST=1 - php: 7.0 env: DB=MYSQL PHPUNIT_TEST=1 - php: 7.1 env: DB=PGSQL PHPUNIT_COVERAGE_TEST=1 before_script: # Init PHP - phpenv rehash - phpenv config-rm xdebug.ini # Install composer dependencies - composer validate - composer require --no-update silverstripe/recipe-core:1.0.x-dev - if [[ $DB == PGSQL ]]; then composer require --no-update silverstripe/postgresql 2.0.x-dev; fi - composer install --prefer-dist --no-interaction --no-progress --no-suggest --optimize-autoloader --verbose --profile script: - if [[ $PHPUNIT_TEST ]]; then vendor/bin/phpunit; fi - if [[ $PHPUNIT_COVERAGE_TEST ]]; then phpdbg -qrr vendor/bin/phpunit --coverage-clover=coverage.xml; fi - if [[ $PHPCS_TEST ]]; then vendor/bin/phpcs src/ tests/ *.php; fi after_success: - if [[ $PHPUNIT_COVERAGE_TEST ]]; then bash <(curl -s https://codecov.io/bash) -f coverage.xml; fi
Update support Node version matrix
sudo: false language: node_js node_js: - 6 - 8 - node after_success: - npm run coverage - ./deploy.sh env: global: - COMMIT_AUTHOR_EMAIL: yeoman@yeoman.io - COMMIT_AUTHOR_NAME: yeoman - SOURCE_BRANCH: master - TARGET_BRANCH: gh-pages - DOCS_DIR: ../yeoman-generator-doc - GH_OWNER: yeoman - GH_PROJECT_NAME: generator - DEPLOY_ON_NODE_VERSION: 6 - secure: >- Hv7gACQoYGtesz1NTJYRHjGCimEJEjj4bQP2iTpDUUbfAiYe/4QPemoyDEFjRxbu5m2uoYwMk0AQrW7DnQhNAhl7u24jYnRgQyd/2GOx3xZgjwnao27gsrTHss4IyXEaS2h3kRuIVSD+xibz/lwZm+erHOQ9VOwvCQkOKnILXW8=
sudo: false language: node_js node_js: - 8 - 10 - node after_success: - npm run coverage - ./deploy.sh env: global: - COMMIT_AUTHOR_EMAIL: yeoman@yeoman.io - COMMIT_AUTHOR_NAME: yeoman - SOURCE_BRANCH: master - TARGET_BRANCH: gh-pages - DOCS_DIR: ../yeoman-generator-doc - GH_OWNER: yeoman - GH_PROJECT_NAME: generator - DEPLOY_ON_NODE_VERSION: 12 - secure: >- Hv7gACQoYGtesz1NTJYRHjGCimEJEjj4bQP2iTpDUUbfAiYe/4QPemoyDEFjRxbu5m2uoYwMk0AQrW7DnQhNAhl7u24jYnRgQyd/2GOx3xZgjwnao27gsrTHss4IyXEaS2h3kRuIVSD+xibz/lwZm+erHOQ9VOwvCQkOKnILXW8=
Update for Chef 15 license agreement and Chef Workstation
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" branches: only: - master services: docker env: matrix: - 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
addons: apt: sources: - chef-current-xenial packages: - chef-workstation # Don't `bundle install` which takes about 1.5 mins install: echo "skip bundle install" env: - CHEF_LICENSE=accept branches: only: - master services: docker env: matrix: - 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 - CHEF_LICENSE=accept
Update CI to use 2.6.5 as well
language: ruby dist: trusty sudo: false cache: bundler branches: only: [master] rvm: - 2.7.0-rc2 addons: postgresql: "9.6" env: matrix: - "RAILS_MASTER=0" - "RAILS_MASTER=1" before_install: - gem install bundler --no-document - bundle install script: - bundle exec rake test - bundle exec rake rubocop before_script: - cp config/database.example.yml config/database.yml - psql -c 'create database triage_test;' -U postgres - bin/rake db:migrate matrix: allow_failures: - env: "RAILS_MASTER=1"
language: ruby dist: trusty sudo: false cache: bundler branches: only: [master] rvm: - 2.6.5 addons: postgresql: "9.6" env: matrix: - "RAILS_MASTER=0" - "RAILS_MASTER=1" before_install: - gem install bundler --no-document - bundle install script: - bundle exec rake test - bundle exec rake rubocop before_script: - cp config/database.example.yml config/database.yml - psql -c 'create database triage_test;' -U postgres - bin/rake db:migrate matrix: allow_failures: - env: "RAILS_MASTER=1"
Add redis which is apparently needed for tests :-[
language: python python: - "2.7" - "3.5" install: - pip install python-coveralls script: "make test" after_success: coveralls
language: python python: - "2.7" - "3.5" install: - pip install python-coveralls script: "make test" after_success: coveralls services: - redis-server env: - REDIS_URL=localhost:6379
Remove sudo: false to see if pip can install properly
--- language: node_js node_js: - "0.12" sudo: false cache: directories: - node_modules env: - EMBER_TRY_SCENARIO=default - EMBER_TRY_SCENARIO=ember-release - EMBER_TRY_SCENARIO=ember-beta - EMBER_TRY_SCENARIO=ember-canary matrix: fast_finish: true allow_failures: - env: EMBER_TRY_SCENARIO=ember-canary before_install: - export PATH=/usr/local/phantomjs-2.0.0/bin:$PATH - "npm config set spin false" - "npm install -g npm@^2" install: - npm install -g bower - npm install - bower install - pip install codecov script: - ember try $EMBER_TRY_SCENARIO test after_success: - codecov
--- language: node_js node_js: - "0.12" cache: directories: - node_modules env: - EMBER_TRY_SCENARIO=default - EMBER_TRY_SCENARIO=ember-release - EMBER_TRY_SCENARIO=ember-beta - EMBER_TRY_SCENARIO=ember-canary matrix: fast_finish: true allow_failures: - env: EMBER_TRY_SCENARIO=ember-canary before_install: - export PATH=/usr/local/phantomjs-2.0.0/bin:$PATH - "npm config set spin false" - "npm install -g npm@^2" install: - npm install -g bower - npm install - bower install - pip install codecov script: - ember try $EMBER_TRY_SCENARIO test after_success: - codecov
Build only on 0.0.10 at Travis CI.
language: node_js node_js: - 0.10 - 0.8 - 0.6 branches: only: - master - travis-ci # Not using `npm install --dev` because it is recursive. It will pull in the all # development dependencies for CoffeeScript. Way too much spew in the Travis CI # build output. before_install: - npm install - npm install istanbul coveralls
language: node_js node_js: - '0.10' branches: only: - master - travis-ci # Not using `npm install --dev` because it is recursive. It will pull in the all # development dependencies for CoffeeScript. Way too much spew in the Travis CI # build output. before_install: - npm install - npm install istanbul coveralls
Update Code Climate repo token.
language: php php: - 7.0 - 7.1 - hhvm before_install: - curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash - - sudo apt-get install --yes nodejs - npm install -g grunt-cli install: - npm install - composer install script: - grunt after_script: - php vendor/bin/coveralls -v - chmod +x code-climate-test-reporter - CODECLIMATE_REPO_TOKEN=fbbb8faf1226ee12fa1f4f6b838fb021e0fcfcb4c48a8be1906adedcc255a860 ./code-climate-test-reporter
language: php php: - 7.0 - 7.1 - hhvm before_install: - curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash - - sudo apt-get install --yes nodejs - npm install -g grunt-cli install: - npm install - composer install script: - grunt after_script: - php vendor/bin/coveralls -v - chmod +x code-climate-test-reporter - CODECLIMATE_REPO_TOKEN=22f651c22e953865509abf9a97b48de2909e3d03e48f7d50ceb332082b278c81 ./code-climate-test-reporter
Add node modules cache setting for Travis CI.
language: node_js node_js: - "node" - "7" - "6" after_success: npm run coverage
language: node_js node_js: - "node" - "7" - "6" cache: directories: - node_modules after_success: npm run coverage
Drop el6 from CI and use 3.5
language: minimal sudo: required env: matrix: - OS_VERSION=6 OSG_VERSION=3.4 - OS_VERSION=7 OSG_VERSION=3.4 services: - docker before_install: - sudo docker pull centos:centos${OS_VERSION} script: # Run tests in Container - sudo docker run --rm=true -v `pwd`:/osg-configure:rw centos:centos${OS_VERSION} /bin/bash /osg-configure/tests/test_inside_docker.sh ${OS_VERSION} ${OSG_VERSION}
language: minimal sudo: required env: matrix: - OS_VERSION=7 OSG_VERSION=3.5 services: - docker before_install: - sudo docker pull centos:centos${OS_VERSION} script: # Run tests in Container - sudo docker run --rm=true -v `pwd`:/osg-configure:rw centos:centos${OS_VERSION} /bin/bash /osg-configure/tests/test_inside_docker.sh ${OS_VERSION} ${OSG_VERSION}
Drop support for Go 1.6.
sudo: false language: go go: - 1.6 - 1.7 - 1.8 os: - linux cache: directories: - $HOME/.cache before_install: - export CACHE=$HOME/.cache - mkdir -p $CACHE # Fetch the Go Appengine SDK - export FILE=$(curl https://storage.googleapis.com/appengine-sdks/ | grep -o 'go_appengine_sdk_linux_amd64-[^\<]*' | sort -t. -k 1,1n -k 2,2n -k 3,3n -k 4,4n | tail -1) - if ! [ -f "$CACHE/$FILE" ]; then curl https://storage.googleapis.com/appengine-sdks/featured/$FILE -o "$CACHE/$FILE"; fi - unzip -q "$CACHE/$FILE" - export PATH=$PATH:$PWD/go_appengine/ - make install-tools # Run build and tests #script: # - make # - ./go_appengine/goapp test ./tests; # If you are testing # - ./go_appengine/goapp build ./packagedir; # Wherever you keep your stuff after_success: - $HOME/gopath/bin/goveralls -service=travis-ci
sudo: false language: go go: - 1.7 - 1.8 os: - linux cache: directories: - $HOME/.cache before_install: - export CACHE=$HOME/.cache - mkdir -p $CACHE # Fetch the Go Appengine SDK - export FILE=$(curl https://storage.googleapis.com/appengine-sdks/ | grep -o 'go_appengine_sdk_linux_amd64-[^\<]*' | sort -t. -k 1,1n -k 2,2n -k 3,3n -k 4,4n | tail -1) - if ! [ -f "$CACHE/$FILE" ]; then curl https://storage.googleapis.com/appengine-sdks/featured/$FILE -o "$CACHE/$FILE"; fi - unzip -q "$CACHE/$FILE" - export PATH=$PATH:$PWD/go_appengine/ - make install-tools # Run build and tests #script: # - make # - ./go_appengine/goapp test ./tests; # If you are testing # - ./go_appengine/goapp build ./packagedir; # Wherever you keep your stuff after_success: - $HOME/gopath/bin/goveralls -service=travis-ci
Fix URL of prebuilt neovim dependencies
language: python python: - 2.7 before_install: - sudo apt-get install expect - git clone --depth=1 -b master git://github.com/neovim/neovim nvim - cd /opt && sudo git clone --depth=1 git://github.com/tarruda/neovim-deps && cd - install: - pip install . - prefix="/opt/neovim-deps" - eval $($prefix/bin/luarocks path) - export PATH="$prefix/bin:$PATH" - export PKG_CONFIG_PATH="$prefix/lib/pkgconfig" - export DEPS_CMAKE_FLAGS="-DUSE_BUNDLED_LIBUV=OFF -DUSE_BUNDLED_LUAJIT=OFF -DUSE_BUNDLED_MSGPACK=OFF -DUSE_BUNDLED_LUAROCKS=OFF" - cd nvim && make && cd .. script: - ./nvim/scripts/run-api-tests.exp "nosetests --verbosity=2" "./nvim/build/bin/nvim -u NONE"
language: python python: - 2.7 before_install: - sudo apt-get install expect - git clone --depth=1 -b master git://github.com/neovim/neovim nvim - cd /opt && sudo git clone --depth=1 git://github.com/neovim/deps neovim-deps && cd - install: - pip install . - prefix="/opt/neovim-deps" - eval $($prefix/bin/luarocks path) - export PATH="$prefix/bin:$PATH" - export PKG_CONFIG_PATH="$prefix/lib/pkgconfig" - export USE_BUNDLED_DEPS=OFF - cd nvim && make && cd .. script: - ./nvim/scripts/run-api-tests.exp "nosetests --verbosity=2" "./nvim/build/bin/nvim -u NONE"