doc_id
stringlengths
36
36
metadata
dict
input
stringlengths
28
4.3k
output
stringlengths
11
5.45k
c69b3f2e-a876-4cd8-8f89-b1ce4bd635b7
{ "language": "YAML" }
```yaml jupyterhub-ssh: hubUrl: https://workshop.datahub.berkeley.edu jupyterhub: scheduling: userPlaceholder: enabled: false ingress: enabled: true hosts: - workshop-staging.datahub.berkeley.edu tls: - secretName: tls-cert hosts: - workshop-staging.datahub.berkeley.edu hub: db: pvc: # This also holds logs storage: 4Gi ``` Use correct hostname for workshop hub
```yaml jupyterhub-ssh: hubUrl: https://workshop.datahub.berkeley.edu jupyterhub: scheduling: userPlaceholder: enabled: false ingress: enabled: true hosts: - workshop.datahub.berkeley.edu tls: - secretName: tls-cert hosts: - workshop.datahub.berkeley.edu hub: db: pvc: # This also holds logs storage: 4Gi ```
dc503077-cc54-4c77-8d27-ad7898d39cb0
{ "language": "YAML" }
```yaml --- # Copyright 2014, Rackspace US, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. galaxy_info: author: rcbops description: Installation and setup of HAProxy company: Rackspace license: Apache2 min_ansible_version: 1.6.6 platforms: - name: Ubuntu versions: - xenial categories: - cloud - python - development - openstack dependencies: [] ``` Add CentOS and openSUSE as supported distributions
```yaml --- # Copyright 2014, Rackspace US, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. galaxy_info: author: rcbops description: Installation and setup of HAProxy company: Rackspace license: Apache2 min_ansible_version: 1.6.6 platforms: - name: Ubuntu versions: - xenial - name: EL versions: - 7 - name: opensuse versions: - all categories: - cloud - python - development - openstack dependencies: [] ```
5dab4987-bbf2-4268-b4cd-2164df12802f
{ "language": "YAML" }
```yaml --- galaxy_info: author: ansistrano description: Ansible role to deploy scripting applications like PHP, Python, Ruby, etc. in a Capistrano style company: Ansistrano license: BSD min_ansible_version: 1.6 platforms: - name: EL versions: - all - name: GenericUNIX versions: - all - name: Fedora versions: - all - name: opensuse versions: - all - name: Amazon versions: - all - name: GenericBSD versions: - all - name: FreeBSD versions: - all - name: Ubuntu versions: - all - name: SLES versions: - all - name: GenericLinux versions: - all - name: Debian versions: - all categories: - cloud - web dependencies: [] ``` Fix license info in meta
```yaml --- galaxy_info: author: ansistrano description: Ansible role to deploy scripting applications like PHP, Python, Ruby, etc. in a Capistrano style company: Ansistrano license: MIT min_ansible_version: 1.6 platforms: - name: EL versions: - all - name: GenericUNIX versions: - all - name: Fedora versions: - all - name: opensuse versions: - all - name: Amazon versions: - all - name: GenericBSD versions: - all - name: FreeBSD versions: - all - name: Ubuntu versions: - all - name: SLES versions: - all - name: GenericLinux versions: - all - name: Debian versions: - all categories: - cloud - web dependencies: [] ```
feea1de2-3c73-4322-9a7e-e94d4d43bc73
{ "language": "YAML" }
```yaml # Copyright 2017 The LUCI Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. service: logs runtime: go env: flex resources: cpu: 2 memory_gb: 4 disk_size_gb: 10 inbound_services: - warmup handlers: - url: "/internal/*" script: _go_app secure: always login: admin - url: "/.*" script: _go_app secure: always # Have some more liberal health check parameters, as we've observed "nginx" # timing out in production. health_check: enable_health_check: True check_interval_sec: 5 timeout_sec: 4 # Stop accepting requests after 20 sec of unhealthiness. unhealthy_threshold: 4 healthy_threshold: 1 # Restart after 2 min of unhealthiness. restart_threshold: 24 ``` Increase logs module min instances to 4 (from 2)
```yaml # Copyright 2017 The LUCI Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. service: logs runtime: go env: flex resources: cpu: 2 memory_gb: 4 disk_size_gb: 10 automatic_scaling: min_num_instances: 4 inbound_services: - warmup handlers: - url: "/internal/*" script: _go_app secure: always login: admin - url: "/.*" script: _go_app secure: always # Have some more liberal health check parameters, as we've observed "nginx" # timing out in production. health_check: enable_health_check: True check_interval_sec: 5 timeout_sec: 4 # Stop accepting requests after 20 sec of unhealthiness. unhealthy_threshold: 4 healthy_threshold: 1 # Restart after 2 min of unhealthiness. restart_threshold: 24 ```
2075c150-bd24-467d-9ba7-7fceeeaf3654
{ "language": "YAML" }
```yaml bedtime: alias: Go to bed sequence: - service: light.turn_on data: entity_id: group.hall_lights - delay: '00:10:00' - service: light.turn_off data: entity_id: - group.kitchen_lights - group.living_room_lights - delay: '00:30:00' - service: light.turn_off data: entity_id: group.hall_lights occupancy_simulation_start: alias: Occupancy Simulation Start sequence: - service: scene.turn_on data_template: entity_id: 'scene.occupancy_simulation_{{ (range(1, 4) | random) }}' - service: script.turn_on data: entity_id: script.occupancy_simulation_loop occupancy_simulation_stop: alias: Occupancy Simulation Stop sequence: - service: script.turn_off data: entity_id: script.occupancy_simulation_loop - service: scene.turn_on data_template: entity_id: 'scene.occupancy_simulation_0' occupancy_simulation_loop: alias: Occupancy Simulation Loop sequence: - delay: '00:{{ (range(20, 41) | random) }}:00' - service: script.turn_on data: entity_id: script.occupancy_simulation_start ``` Fix service definition for non-templated data
```yaml bedtime: alias: Go to bed sequence: - service: light.turn_on data: entity_id: group.hall_lights - delay: '00:10:00' - service: light.turn_off data: entity_id: - group.kitchen_lights - group.living_room_lights - delay: '00:30:00' - service: light.turn_off data: entity_id: group.hall_lights occupancy_simulation_start: alias: Occupancy Simulation Start sequence: - service: scene.turn_on data_template: entity_id: 'scene.occupancy_simulation_{{ (range(1, 4) | random) }}' - service: script.turn_on data: entity_id: script.occupancy_simulation_loop occupancy_simulation_stop: alias: Occupancy Simulation Stop sequence: - service: script.turn_off data: entity_id: script.occupancy_simulation_loop - service: scene.turn_on data: entity_id: 'scene.occupancy_simulation_0' occupancy_simulation_loop: alias: Occupancy Simulation Loop sequence: - delay: '00:{{ (range(20, 41) | random) }}:00' - service: script.turn_on data: entity_id: script.occupancy_simulation_start ```
a9266aa0-46de-46ef-8cbc-a8993de6140a
{ "language": "YAML" }
```yaml language: python sudo: true python: - "2.7_with_system_site_packages" # - "3.5" #python3-gi is bugged and Travis not let to access to python-gi (py2.7) before_script: - "export DISPLAY=:99.0" - "sh -e /etc/init.d/xvfb start" - sleep 3 install: - bash test/setup_test.sh script: # so to help eventual debug: knowing what exact versions are in use can be rather useful. - pip freeze # Code static analysis - pep8 --max-line-length=100 --exclude='*.pyc, *.cfg, *.log' --ignore='E402' alignak_app/* #- pylint --rcfile=.pylintrc alignak_webui/ # No pep257 currently (Code doc compliance) # - pep257 --select=D300 alignak_webui # Code dynamic analysis # - cd test - coverage erase - cd test/ - nosetests -xv --nologcapture --with-coverage --cover-package=alignak_app test_*.py - coverage combine - coverage report -m # - cd .. # specific call to launch coverage data into coveralls.io after_success: # to get coverage data with relative paths and not absolute we have to # execute coveralls from the base directory of the project, # so we need to move the .coverage file here : # mv test/.coverage . && coveralls --rcfile=test/.coveragerc -v coveralls -v ``` Add listing test folder to see if coverage exist
```yaml language: python sudo: true python: - "2.7_with_system_site_packages" # - "3.5" #python3-gi is bugged and Travis not let to access to python-gi (py2.7) before_script: - "export DISPLAY=:99.0" - "sh -e /etc/init.d/xvfb start" - sleep 3 install: - bash test/setup_test.sh script: # so to help eventual debug: knowing what exact versions are in use can be rather useful. - pip freeze # Code static analysis - pep8 --max-line-length=100 --exclude='*.pyc, *.cfg, *.log' --ignore='E402' alignak_app/* #- pylint --rcfile=.pylintrc alignak_webui/ # No pep257 currently (Code doc compliance) # - pep257 --select=D300 alignak_webui # Code dynamic analysis # - cd test - coverage erase - cd test/ - nosetests -xv --nologcapture --with-coverage --cover-package=alignak_app test_*.py - ls -la - coverage combine - coverage report -m # - cd .. # specific call to launch coverage data into coveralls.io after_success: # to get coverage data with relative paths and not absolute we have to # execute coveralls from the base directory of the project, # so we need to move the .coverage file here : # mv test/.coverage . && coveralls --rcfile=test/.coveragerc -v coveralls -v ```
3248f078-1436-46b8-b82a-00a680c8e239
{ "language": "YAML" }
```yaml language: php php: - 5.3 - 5.4 - 5.5 before_script: - composer self-update - composer install --dev --prefer-source script: - ./vendor/bin/phpunit -c ./test --coverage-clover ./build/logs/clover.xml - ./bin/check-cs.sh after_script: - php ./vendor/bin/coveralls -v notifications: irc: "irc.freenode.org#apigility-dev" email: false ``` Update phpunit invocation for Travis
```yaml language: php php: - 5.3 - 5.4 - 5.5 before_script: - composer self-update - composer install --dev --prefer-source script: - ./vendor/bin/phpunit --coverage-clover ./build/logs/clover.xml - ./bin/check-cs.sh after_script: - php ./vendor/bin/coveralls -v notifications: irc: "irc.freenode.org#apigility-dev" email: false ```
3a8f6ad1-d880-40fd-b64b-d9e912193a1b
{ "language": "YAML" }
```yaml language: ruby before_install: - sudo add-apt-repository -y ppa:miurahr/vagrant - sudo apt-get update -qq - sudo apt-get install -qq libvirt-dev libvirt-bin qemu-kvm qemu rvm: - 1.9.3 - 2.0.0 script: "bundle exec rspec spec/vagrant-kvm/" ``` Add user to proper groups
```yaml language: ruby before_install: - sudo add-apt-repository -y ppa:miurahr/vagrant - sudo apt-get update -qq - sudo apt-get install -qq libvirt-dev libvirt-bin qemu-kvm qemu - sudo usermod -G kvm,libvirtd $USER rvm: - 1.9.3 - 2.0.0 script: "bundle exec rspec spec/vagrant-kvm/" ```
f819e11a-f6e7-4a7c-888a-157ab658ed08
{ "language": "YAML" }
```yaml language: php php: - 5.3 - 5.4 - 5.5 - 5.6 - 7 - hhvm sudo: false install: - composer install --no-interaction script: - phpunit --coverage-text ``` Fix HHVM build for now again and ignore future HHVM build errors
```yaml language: php php: - 5.3 - 5.4 - 5.5 - 5.6 - 7 # also test against HHVM, but require "trusty" and ignore errors matrix: include: - php: hhvm dist: trusty allow_failures: - php: hhvm sudo: false install: - composer install --no-interaction script: - phpunit --coverage-text ```
b6559231-f86b-4240-b7aa-57617b7ede43
{ "language": "YAML" }
```yaml language: node_js node_js: - 4.0 - 4.1 - 4.2 - 4.3 - 4.4 - 4.5 - 4.6 - 5.0 - 5.1 - 5.2 - 5.3 - 5.4 - 5.5 - 5.6 - 5.7 - 5.8 - 5.9 - 5.10 - 5.11 - 5.12 - 6.0 - 6.1 - 6.2 - 6.3 - 6.4 - 6.5 - 6.6 - 6.7 ``` Test against major versions only
```yaml language: node_js node_js: - 4 - 5 - 6 ```
38fcf259-ac71-4b11-a696-370aa40cb859
{ "language": "YAML" }
```yaml sudo: false language: node_js node_js: - '6' - '8' branches: only: - master - travis-ci before_install: - npm install - npm install istanbul coveralls ``` Build with Node.js 10 at Travis CI.
```yaml sudo: false language: node_js node_js: - '6' - '8' - '10' branches: only: - master - travis-ci before_install: - npm install - npm install istanbul coveralls ```
3f167c97-a8c5-4786-a87a-e10547d29756
{ "language": "YAML" }
```yaml # http://docs.travis-ci.com/user/languages/javascript-with-nodejs/ language: node_js env: TRAVIS_CI=true node_js: - "8" script: - yarn typecheck - yarn report ``` Remove `typecheck` command from Travis CI
```yaml # http://docs.travis-ci.com/user/languages/javascript-with-nodejs/ language: node_js env: TRAVIS_CI=true node_js: - "8" script: - yarn report ```
578f2e28-002b-4855-96f3-0a26c339e9fa
{ "language": "YAML" }
```yaml language: php php: - 5.3 - 5.4 - 5.5 matrix: allow_failures: - php: 5.5 env: global: - ES_VER=0.90.7 - ES_MAPPER_ATTACHMENTS_VER=1.9.0 - ES_TRANSPORT_THRIFT_VER=1.4.0 - ES_GEOCLUSTER_FACET_VER=0.0.8 - ES_WAIT_ON_MAPPING_CHANGE=true matrix: - ES_REQUIRE=dev - ES_REQUIRE=no-dev before_script: - composer self-update - composer --${ES_REQUIRE} --prefer-source install - ./test/bin/install_php_memcache.sh - ./test/bin/run_elasticsearch.sh - ./test/bin/run_proxy.sh script: phpunit -c test/ after_script: ./test/bin/show_logs.sh``` Update geocluster facet plugin to v0.0.9
```yaml language: php php: - 5.3 - 5.4 - 5.5 matrix: allow_failures: - php: 5.5 env: global: - ES_VER=0.90.7 - ES_MAPPER_ATTACHMENTS_VER=1.9.0 - ES_TRANSPORT_THRIFT_VER=1.4.0 - ES_GEOCLUSTER_FACET_VER=0.0.9 - ES_WAIT_ON_MAPPING_CHANGE=true matrix: - ES_REQUIRE=dev - ES_REQUIRE=no-dev before_script: - composer self-update - composer --${ES_REQUIRE} --prefer-source install - ./test/bin/install_php_memcache.sh - ./test/bin/run_elasticsearch.sh - ./test/bin/run_proxy.sh script: phpunit -c test/ after_script: ./test/bin/show_logs.sh ```
ac6a7e3f-7c39-46d7-829e-9506e60ac4d2
{ "language": "YAML" }
```yaml language: python python: - "2.7" - "3.3" - "3.4" - "3.5" # command to install dependencies install: - if [[ $TRAVIS_PYTHON_VERSION == 3* ]]; then pip install -r requirements-py3.txt; else pip install -r requirements-py2.txt; fi # command to run tests script: nosetests tests sudo: false ``` Update Python versions, and add testing on macOS and Windows
```yaml language: python os: linux python: - "3.8" - "3.7" - "3.6" - "3.5" - "3.4" - "3.3" - "2.7" - "pypy3" - "pypy3.5-6.0" - "pypy3.5-7.0" - "pypy3.6-7.0.0" - "pypy" - "pypy2.7-6.0" - "pypy2.7-7.0.0" jobs: include: - os: osx python: "3.7" osx_image: xcode11.2 # Python 3.7.4 running on macOS 10.14.4 language: shell # 'language: python' is an error on Travis CI macOS before_install: - python3 -m pip install --upgrade pip - python3 -m pip install --upgrade virtualenv - virtualenv -p python3 --system-site-packages "$HOME/venv" - source "$HOME/venv/bin/activate" - CFLAGS="-O0" STATIC_DEPS=true python3 -m pip install lxml - python3 --version - python --version env: - HOMEBREW_NO_INSTALL_CLEANUP=1 - HOMEBREW_NO_ANALYTICS=1 before_cache: - rm -f "$HOME/Library/Caches/pip/log/debug.log" cache: directories: - "$HOME/Library/Caches/pip" - os: windows # Windows 10.0.17134 N/A Build 17134 python: "3.8" language: shell # 'language: python' is an error on Travis CI Windows before_install: - choco install python --version 3.8.0 - choco install sqlite - python -m pip install --upgrade pip - python --version env: PATH=/c/Python38:/c/Python38/Scripts:$PATH # allow failure on OSes other than Linux allow_failures: - os: osx - os: windows fast_finish: true # command to install dependencies install: - > if [[ "$TRAVIS_PYTHON_VERSION" == "2"* ]] || [[ "$TRAVIS_PYTHON_VERSION" == "pypy2"* ]]; then pip install -r requirements-py2.txt; else pip3 install -r requirements-py3.txt; fi # command to run tests script: nosetests tests ```
e92d87a4-d648-4a02-bceb-fb0eccb6b69d
{ "language": "YAML" }
```yaml --- rvm: - 1.8.7 - 1.9.2 - 1.9.3 - rbx - rbx-2.0 - jruby - ruby-head env: - rack=1.3.0 - rack=master - tilt=1.3.2 - tilt=master - sinatra=master notifications: recipients: - k.haase@finn.de - ohhgabriel@gmail.com - inbox@trevorbramble.com ``` Use the proper Rubinius aliases in our Travis version list
```yaml --- rvm: - 1.8.7 - 1.9.2 - 1.9.3 - rbx-18mode - rbx-19mode - jruby - ruby-head env: - rack=1.3.0 - rack=master - tilt=1.3.2 - tilt=master - sinatra=master notifications: recipients: - k.haase@finn.de - ohhgabriel@gmail.com - inbox@trevorbramble.com ```
0192bcdd-a118-4a15-9a24-0e3c953b9d8c
{ "language": "YAML" }
```yaml language: node_js sudo: false before_script: - npm install web-component-tester - npm install bower - 'export PATH=$PWD/node_modules/.bin:$PATH' - bower install branches: only: - gh-pages - /.*/ node_js: 4 addons: firefox: latest apt: sources: - google-chrome packages: - google-chrome-stable script: - xvfb-run wct --skip-plugin sauce - "if [ \"${TRAVIS_PULL_REQUEST}\" = \"false\" ]; then wct --skip-plugin local --plugin sauce; fi" ``` Upgrade Travis CI to Ubuntu Trusty to fix Chrome usage in testing
```yaml language: node_js sudo: required dist: trusty before_script: - npm install web-component-tester - npm install bower - 'export PATH=$PWD/node_modules/.bin:$PATH' - bower install branches: only: - gh-pages - /.*/ node_js: 4 addons: firefox: latest apt: sources: - google-chrome packages: - google-chrome-stable script: - xvfb-run wct --skip-plugin sauce - "if [ \"${TRAVIS_PULL_REQUEST}\" = \"false\" ]; then wct --skip-plugin local --plugin sauce; fi" ```
e13859de-1e70-4e4a-8546-7ec4a1211225
{ "language": "YAML" }
```yaml language: objective-c osx_image: xcode9.2 env: - LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 before_install: - pod repo update - gem install xcpretty -N script: "./Tests/travis.sh" notifications: slack: secure: Bgfiib7NP2/98fjJvW+PraQQFnj5X23+Zmvy9XqIe9NetzyNqWVN6URRFdcjvSnpah1kg2gGhIdkT5gvBT8HcP8OS6x/2lMFQsOhuA0mMoJ3tK3vhve10s3Mt8JvWqnEI3OmnDF/Yx7FN0sGiTskLYvi7jCzLY1QNqdg52VTsNI= ``` Switch Travis Xcode image to 9.3 beta (until they have final 9.3)
```yaml language: objective-c osx_image: xcode9.3beta env: - LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 before_install: - pod repo update - gem install xcpretty -N script: "./Tests/travis.sh" notifications: slack: secure: Bgfiib7NP2/98fjJvW+PraQQFnj5X23+Zmvy9XqIe9NetzyNqWVN6URRFdcjvSnpah1kg2gGhIdkT5gvBT8HcP8OS6x/2lMFQsOhuA0mMoJ3tK3vhve10s3Mt8JvWqnEI3OmnDF/Yx7FN0sGiTskLYvi7jCzLY1QNqdg52VTsNI= ```
b5623ba8-fcf6-43a1-9a0e-8624efe3775b
{ "language": "YAML" }
```yaml language: scala env: global: - PLAY_VERSION=2.2.1 - secure: "HD1x0S9ad/3+G9YUkyT/uTw9lEr+tUQEV4QO+M2Ro1JFSVOzLNZiNoh6FrNb06a0TbencTkftyHYmYjp1/CCyTpF9CMCQ4ddB7TVF9hibH1y9ONVrPJIm5BCEpjGDa4fND8bkcChrpcZDQKIO0ZwArEsl2+IRocnbBT+oYqIFNo=" before_script: - wget http://downloads.typesafe.com/play/${PLAY_VERSION}/play-${PLAY_VERSION}.zip - unzip -q play-${PLAY_VERSION}.zip script: play-${PLAY_VERSION}/play test notifications: email: false after_success: - play-${PLAY_VERSION}/play dist - cd /target/universal/ - curl -H "Authorization: token ${BUILD_KEY}" https://api.github.com/MeiSign - 'curl -XPOST "https://api.github.com/repos/MeiSign/Fillable/releases" -d \\"{"tag_name" : "automated travis build": "draft", true}\\"'``` Add new Travis.yml for automated compilation
```yaml language: scala env: global: - PLAY_VERSION=2.2.1 - secure: "HD1x0S9ad/3+G9YUkyT/uTw9lEr+tUQEV4QO+M2Ro1JFSVOzLNZiNoh6FrNb06a0TbencTkftyHYmYjp1/CCyTpF9CMCQ4ddB7TVF9hibH1y9ONVrPJIm5BCEpjGDa4fND8bkcChrpcZDQKIO0ZwArEsl2+IRocnbBT+oYqIFNo=" before_script: - wget http://downloads.typesafe.com/play/${PLAY_VERSION}/play-${PLAY_VERSION}.zip - unzip -q play-${PLAY_VERSION}.zip - apt-get install jq script: play-${PLAY_VERSION}/play test notifications: email: false after_success: - play-${PLAY_VERSION}/play dist - cd /target/universal/ - 'ASSETID=$(curl -s -H "Authorization: token ${BUILD_KEY}" "https://api.github.com/repos/meisign/fillable/releases/204198/assets" | jq ".[0].id")' - 'curl -XDELETE -s -H "Authorization: token ${BUILD_KEY}" "https://api.github.com/repos/meisign/fillable/releases/assets/$ASSETID"' - 'curl -XPOST -v -H "Authorization: token ${BUILD_KEY}" -H "Content-Type: application/zip" --data-binary @./Fillable-1.0-SNAPSHOT.zip "https://uploads.github.com/repos/meisign/fillable/releases/204198/assets?name=Fillable.zip"'```
e023931e-d499-4b6d-be39-02e5ced9d491
{ "language": "YAML" }
```yaml language: android android: components: - tools - platform-tools - build-tools-25.0.2 - android-25 - extra-android-m2repository - sys-img-armeabi-v7a-android-18 jdk: - oraclejdk8 sudo: true before_script: - echo no | android create avd --force -n test -t android-18 --abi armeabi-v7a - emulator -avd test -no-window & - android-wait-for-emulator - adb shell input keyevent 82 env: matrix: - TEST=:sample:app:connectedDebugAndroidTest - TEST=:sample:kotlinapp:connectedDebugAndroidTest - TEST=:activitystarter:test script: - ./gradlew $TEST -i branches: only: - master - stable notifications: email: true cache: directories: - $HOME/.m2 - $HOME/.gradle``` Add compiler unit tests to Travis
```yaml language: android android: components: - tools - platform-tools - build-tools-25.0.2 - android-25 - extra-android-m2repository - sys-img-armeabi-v7a-android-18 jdk: - oraclejdk8 sudo: true before_script: - echo no | android create avd --force -n test -t android-18 --abi armeabi-v7a - emulator -avd test -no-window & - android-wait-for-emulator - adb shell input keyevent 82 env: matrix: - TEST=:sample:app:connectedDebugAndroidTest - TEST=:sample:kotlinapp:connectedDebugAndroidTest - TEST=:activitystarter:test - TEST=:activitystarter-compiler:test script: - ./gradlew $TEST -i branches: only: - master - stable notifications: email: true cache: directories: - $HOME/.m2 - $HOME/.gradle```
8b6b0c3e-4a0c-40b9-b6bc-2a7dc13d1a23
{ "language": "YAML" }
```yaml --- language: node_js node_js: - "6" sudo: false dist: trusty addons: chrome: stable cache: yarn env: global: # See https://git.io/vdao3 for details. - JOBS=1 matrix: - EMBER_TRY_SCENARIO=defaults - EMBER_TRY_SCENARIO=typescript-release - EMBER_TRY_SCENARIO=typescript-beta - EMBER_TRY_SCENARIO=ember-cli-release - EMBER_TRY_SCENARIO=ember-cli-beta matrix: fast_finish: true before_install: - bash ./is_md_only.sh && MD_ONLY=true && echo "Only .md files have changed!" || test true install: - test $MD_ONLY && echo "Skipped!" || yarn install script: - test $MD_ONLY && echo "Skipped!" || yarn lint:js # Usually, it's ok to finish the test scenario without reverting # to the addon's original dependency state, skipping "cleanup". - test $MD_ONLY && echo "Skipped!" || yarn ember try:one $EMBER_TRY_SCENARIO --skip-cleanup # We build PRs, but don't trigger separate builds for the PR from the branch. branches: only: - master ``` Allow failures in beta scenarios
```yaml --- language: node_js node_js: - "6" sudo: false dist: trusty addons: chrome: stable cache: yarn env: global: # See https://git.io/vdao3 for details. - JOBS=1 matrix: - EMBER_TRY_SCENARIO=defaults - EMBER_TRY_SCENARIO=typescript-release - EMBER_TRY_SCENARIO=typescript-beta - EMBER_TRY_SCENARIO=ember-cli-release - EMBER_TRY_SCENARIO=ember-cli-beta matrix: fast_finish: true allow_failures: - env: EMBER_TRY_SCENARIO=typescript-beta - env: EMBER_TRY_SCENARIO=ember-cli-beta before_install: - bash ./is_md_only.sh && MD_ONLY=true && echo "Only .md files have changed!" || test true install: - test $MD_ONLY && echo "Skipped!" || yarn install script: - test $MD_ONLY && echo "Skipped!" || yarn lint:js # Usually, it's ok to finish the test scenario without reverting # to the addon's original dependency state, skipping "cleanup". - test $MD_ONLY && echo "Skipped!" || yarn ember try:one $EMBER_TRY_SCENARIO --skip-cleanup # We build PRs, but don't trigger separate builds for the PR from the branch. branches: only: - master ```
0eb1cc95-02d1-4d30-bfc9-bbfd1da3539a
{ "language": "YAML" }
```yaml branches: only: - master language: ruby matrix: allow_failures: - rvm: ruby-head rvm: - 1.9.3 - 2.0.0 - 2.1 - 2.2 - 2.3.0 - jruby - ruby-head ``` Install the latest bundler on Travis.
```yaml branches: only: - master language: ruby matrix: allow_failures: - rvm: ruby-head install: - gem install bundler rvm: - 1.9.3 - 2.0.0 - 2.1 - 2.2 - 2.3.0 - jruby - ruby-head ```
d5ddfb95-7c53-41ff-999a-0faa5cc8bf43
{ "language": "YAML" }
```yaml language: python python: - "2.6" - "2.7" - "3.2" - "3.3" - "3.4" # command to install dependencies install: - "pip install unittest" - "pip install coveralls" # command to run tests script: coverage run --source=visualcaptcha test.py after_success: coveralls``` Update Python version to run on Travis.
```yaml language: python python: - "2.7" # command to install dependencies install: - "pip install coveralls" # command to run tests script: coverage run --source=visualcaptcha test.py after_success: coveralls```
30934c78-773b-4ffb-8b58-b86d7eafdfc4
{ "language": "YAML" }
```yaml language: ruby rvm: - 2.1.3 before_script: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start script: - RAILS_ENV=test bundle exec rake db:drop - RAILS_ENV=test bundle exec rake db:create - RAILS_ENV=test bundle exec rake db:migrate - RAILS_ENV=test bundle exec rake db:seed - bundle exec rspec ``` Use container-based infrastructure and gem caching for faster builds
```yaml cache: bundler language: ruby rvm: - 2.1.3 before_script: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start script: - RAILS_ENV=test bundle exec rake db:drop - RAILS_ENV=test bundle exec rake db:create - RAILS_ENV=test bundle exec rake db:migrate - RAILS_ENV=test bundle exec rake db:seed - bundle exec rspec sudo: false ```
9b11e737-52ad-41f9-a4e3-e4defbf43447
{ "language": "YAML" }
```yaml language: ruby rvm: - 2.3.1 - 2.2.5 - 2.1.9 env: - RAILS=3.2.22.1 - RAILS=4.1.14.1 - RAILS=4.2.5.1 - RAILS=5.0.0.0 matrix: exclude: - rvm: 2.1.9 env: RAILS=5.0.0.0 ``` Update bundler before running it
```yaml language: ruby rvm: - 2.3.1 - 2.2.5 - 2.1.9 env: - RAILS=3.2.22.1 - RAILS=4.1.14.1 - RAILS=4.2.5.1 - RAILS=5.0.0.0 matrix: exclude: - rvm: 2.1.9 env: RAILS=5.0.0.0 before_install: - gem update bundler ```
26ceb3ff-043b-4b9f-9f66-194792fd4ba0
{ "language": "YAML" }
```yaml language: java sudo: false install: true script: mvn -B clean install jdk: - openjdk8 - oraclejdk8 - openjdk9 - openjdk10 - openjdk11 env: - JAVA_OPTS="-Xmx3072M -Xms512M -XX:+UseG1GC" ``` Remove Oracle JDK from Travis Builds
```yaml language: java sudo: false install: true script: mvn -B clean install jdk: - openjdk8 - openjdk9 - openjdk10 - openjdk11 env: - JAVA_OPTS="-Xmx3072M -Xms512M -XX:+UseG1GC" ```
b5f1a718-189b-4792-bd71-dcf7ab4f475d
{ "language": "YAML" }
```yaml sudo: false dist: trusty language: java jdk: oraclejdk9 script: - ./build.jsh after_success: - jshell --show-version --execution local bootstrap.jsh - cd demo/01-hello-world - jshell --show-version --execution local build-01-hello-world.jsh ``` Fix Travis CI build script - bootstrap moved to demo folder
```yaml sudo: false dist: trusty language: java jdk: oraclejdk9 script: - ./build.jsh after_success: - cd demo/00-bootstrap - jshell --show-version --execution local bootstrap.jsh - cd - - cd demo/01-hello-world - jshell --show-version --execution local build-01-hello-world.jsh - cd - ```
5864d2bf-6025-4dbe-9272-bcb8f69745b9
{ "language": "YAML" }
```yaml language: python cache: pip env: global: - PILLOW="Pillow" matrix: include: - python: 2.7 - python: 3.4 env: PILLOW="Pillow==2.9.0" - python: 3.5 env: PILLOW="Pillow==3.0.0" - python: 3.6 before_install: # Dependencies to build PIL - sudo apt-get update -qq - sudo apt-get install -qq ubuntu-restricted-extras - sudo apt-get install -qq libfreetype6-dev libjpeg8-dev zlib1g-dev ffmpeg - sudo locale-gen fr_FR.UTF-8 - ffmpeg -version install: - pip install -q $PILLOW - pip install pytest pytest-cov coveralls - pip install . script: py.test -sv --cov sigal --cov-report term-missing tests/ after_success: coveralls notifications: irc: "chat.freenode.net#sigal" ``` Fix install of ffmpeg since Travis upgrade to trusty
```yaml language: python cache: pip env: global: - PILLOW="Pillow" matrix: include: - python: 2.7 - python: 3.4 env: PILLOW="Pillow==2.9.0" - python: 3.5 env: PILLOW="Pillow==3.0.0" - python: 3.6 before_install: # Add PPA to get ffmpeg on trusty - sudo add-apt-repository ppa:mc3man/trusty-media -y # Dependencies to build PIL - sudo apt-get update -qq - sudo apt-get install -qq ubuntu-restricted-extras - sudo apt-get install -qq libfreetype6-dev libjpeg8-dev zlib1g-dev ffmpeg - sudo locale-gen fr_FR.UTF-8 - ffmpeg -version install: - pip install -q $PILLOW - pip install pytest pytest-cov coveralls - pip install . script: py.test -sv --cov sigal --cov-report term-missing tests/ after_success: coveralls notifications: irc: "chat.freenode.net#sigal" ```
6da2876c-1567-4987-8c26-2c9f034a0dbe
{ "language": "YAML" }
```yaml sudo: false rvm: - 2.4 # - 2.5 gemfile: - gemfiles/mysql2_ar_42.gemfile - gemfiles/mysql2_ar_50.gemfile - gemfiles/mysql2_ar_51.gemfile - gemfiles/mysql2_ar_52.gemfile - gemfiles/pg_ar_42.gemfile - gemfiles/pg_ar_50.gemfile - gemfiles/pg_ar_51.gemfile - gemfiles/pg_ar_52.gemfile - gemfiles/sqlite3_ar_42.gemfile - gemfiles/sqlite3_ar_50.gemfile - gemfiles/sqlite3_ar_51.gemfile - gemfiles/sqlite3_ar_52.gemfile services: - mysql - postgresql before_script: - mysql -e 'create database ancestry_test;' || true - psql -c 'create database ancestry_test;' -U postgres || true ``` Test against Ruby 2.5 and 2.6
```yaml sudo: false rvm: - 2.4 - 2.5 - 2.6 gemfile: - gemfiles/mysql2_ar_42.gemfile - gemfiles/mysql2_ar_50.gemfile - gemfiles/mysql2_ar_51.gemfile - gemfiles/mysql2_ar_52.gemfile - gemfiles/pg_ar_42.gemfile - gemfiles/pg_ar_50.gemfile - gemfiles/pg_ar_51.gemfile - gemfiles/pg_ar_52.gemfile - gemfiles/sqlite3_ar_42.gemfile - gemfiles/sqlite3_ar_50.gemfile - gemfiles/sqlite3_ar_51.gemfile - gemfiles/sqlite3_ar_52.gemfile services: - mysql - postgresql before_script: - mysql -e 'create database ancestry_test;' || true - psql -c 'create database ancestry_test;' -U postgres || true ```
fa00170b-d9ec-4ab4-a4b3-8f9e9d9a6944
{ "language": "YAML" }
```yaml sudo: false language: go before_install: - git config --global user.email "user@example.com" - git fetch --unshallow - git fetch origin +refs/notes/devtools/*:refs/notes/devtools/* - git fetch origin +refs/heads/master:refs/heads/master ``` Add a CI check that we are not importing the builtin "os/exec" package anywhere
```yaml sudo: false language: go before_install: - git config --global user.email "user@example.com" - git fetch --unshallow - git fetch origin +refs/notes/devtools/*:refs/notes/devtools/* - git fetch origin +refs/heads/master:refs/heads/master before_script: - grep "os/exec" `find ./ -name '*.go'` && exit 1 ```
0997265b-d51f-48d8-9bf8-44ec487a8576
{ "language": "YAML" }
```yaml language: c compiler: - gcc - clang env: - CFLAGS="-m32" - CFLAGS="-m64" before_script: - sudo apt-get update -qq - sudo apt-get install -y libc6:i386 libgcc1:i386 gcc-4.6-base:i386 gcc-multilib script: - perl --version - make test - make clean - make debug - make test 2> /dev/null >/dev/null ``` Remove redundancy packages from preparation.
```yaml language: c compiler: - gcc - clang env: - CFLAGS="-m32" - CFLAGS="-m64" before_script: - sudo apt-get update -qq - sudo apt-get install -y gcc-multilib script: - perl --version - make test - make clean - make debug - make test 2> /dev/null >/dev/null ```
5a78fa0d-fe5a-4899-bf67-f7a1179f6202
{ "language": "YAML" }
```yaml sudo: false language: node_js node_js: - "0.10" - "0.12" ``` Fix build - install grunt
```yaml sudo: false language: node_js node_js: - "0.10" - "0.12" before_script: - npm install -g grunt-cli```
9a4575cc-cc03-4b4b-88fd-a1032bd68ecd
{ "language": "YAML" }
```yaml language: android jdk: oraclejdk8 dist: trusty sudo: required group: edge android: components: - tools - build-tools-26.0.1 - android-26 install: - sudo apt-get install build-essential - echo y | sdkmanager 'ndk-bundle' - echo y | sdkmanager 'cmake' - export ANDROID_HOME=$HOME/android/sdk - export ANDROID_NDK_HOME=$HOME/android/sdk/ndk-bundle env: global: # install timeout in minutes (2 minutes by default) - ADB_INSTALL_TIMEOUT=8 # Emulator Management: Create, Start and Wait before_script: - echo no | android create avd --force -n test -t android-21 --abi armeabi-v7a - emulator -avd test -no-skin -no-audio -no-window & - android-wait-for-emulator - adb shell input keyevent 82 & script: - android list target - ./gradlew build -x bintray connectedCheck --stacktrace --info``` Use yes to accept license
```yaml language: android jdk: oraclejdk8 dist: trusty sudo: required group: edge android: components: - tools - build-tools-26.0.1 - android-26 install: - sudo apt-get install build-essential - yes | sdkmanager 'ndk-bundle' - yes | sdkmanager 'cmake' env: global: # install timeout in minutes (2 minutes by default) - ADB_INSTALL_TIMEOUT=8 # Emulator Management: Create, Start and Wait before_script: - echo no | android create avd --force -n test -t android-21 --abi armeabi-v7a - emulator -avd test -no-skin -no-audio -no-window & - android-wait-for-emulator - adb shell input keyevent 82 & script: - android list target - ./gradlew build -x bintray connectedCheck --stacktrace --info```
c2706e6e-3da9-4b50-81ad-438d7a564367
{ "language": "YAML" }
```yaml language: python python: - 2.7 - 3.3 - 3.4 - 3.5 - 3.6 dist: trusty sudo: false matrix: include: - language: generic python: 2.7 os: osx - language: generic python: 3.3 os: osx - language: generic python: 3.4 os: osx - language: generic python: 3.5 os: osx - language: generic python: 3.6 os: osx before_install: - pip install --quiet codecov wheel install: - make install script: - make test after_success: - bash <(curl -s https://codecov.io/bash) ``` Add pypy and nightly runtimes
```yaml language: python python: - 2.7 - 3.3 - 3.4 - 3.5 - 3.6 - nightly - pypy-5.7.1 dist: trusty sudo: false matrix: include: - language: generic python: 2.7 os: osx - language: generic python: 3.3 os: osx - language: generic python: 3.4 os: osx - language: generic python: 3.5 os: osx - language: generic python: 3.6 os: osx before_install: - pip install --quiet codecov wheel install: - make install script: - make test after_success: - bash <(curl -s https://codecov.io/bash) ```
6409c772-d78c-4e59-babb-20cca4ab5c80
{ "language": "YAML" }
```yaml default: true # Using h2 has side effects in GitBook's toc. Thus, we sometimes switch from h1 to h3 MD001: false MD012: # 2 are required, because GitBook adss two blank lines at the end of a file maximum: 2 MD013: false # The FAQs state questions - we allow them MD026: punctuation: ".,;:!" MD033: # we have <a> tags with ids and superscript allowed_elements: ['a', 'sup'] ``` Add MD031 to lint ignore list
```yaml default: true # Using h2 has side effects in GitBook's toc. Thus, we sometimes switch from h1 to h3 MD001: false MD012: # 2 are required, because GitBook adss two blank lines at the end of a file maximum: 2 MD013: false # The FAQs state questions - we allow them MD026: punctuation: ".,;:!" # not supported by gitbook MD031: false MD033: # we have <a> tags with ids and superscript allowed_elements: ['a', 'sup'] ```
ae5bdc48-336c-4504-9b37-e0a5603444b3
{ "language": "YAML" }
```yaml language: ruby matrix: include: - os: linux dist: trusty sudo: required services: - postgresql addons: postgresql: "9.5" - os: osx osx_image: xcode8 install: - "[ $TRAVIS_OS_NAME = osx ] && pg_ctl -D /usr/local/var/postgres start && sleep 3 || true" - "[ $TRAVIS_OS_NAME = osx ] && createuser -s postgres || true" - psql -U postgres -c 'CREATE DATABASE test;' script: - eval "$(curl -sL https://swift.vapor.sh/ci-3.1)" - eval "$(curl -sL https://swift.vapor.sh/codecov)" ``` Use xcode8.3 image in Travis config.
```yaml language: ruby matrix: include: - os: linux dist: trusty sudo: required services: - postgresql - os: osx osx_image: xcode8.3 install: - "[ $TRAVIS_OS_NAME = osx ] && pg_ctl -D /usr/local/var/postgres start && sleep 3 || true" - "[ $TRAVIS_OS_NAME = osx ] && createuser -s postgres || true" - psql -U postgres -c 'CREATE DATABASE test;' script: - eval "$(curl -sL https://swift.vapor.sh/ci-3.1)" - eval "$(curl -sL https://swift.vapor.sh/codecov)" ```
888d583d-c2b0-4eb9-9284-2e48a59dde2f
{ "language": "YAML" }
```yaml sudo: false language: go go: - 1.7 - tip before_install: - go get github.com/golang/lint/golint script: - go install ./... - go test -v ./... - go vet -x ./... - $HOME/gopath/bin/golint -set_exit_status ./... ``` Use Go stable and master with Travis CI
```yaml sudo: false language: go go: - stable - master before_install: - go get github.com/golang/lint/golint script: - go install ./... - go test -v ./... - go vet -x ./... - $HOME/gopath/bin/golint -set_exit_status ./... ```
6e423bf8-f3f4-49f4-a14e-941128342803
{ "language": "YAML" }
```yaml language: python python: - "2.6" - "2.7" - "3.2" - "3.3" - "3.4" - "3.5.0b3" - "3.5-dev" - "nightly" # command to install dependencies install: "pip install -r requirements.txt" # command to run tests script: python -m unittest discover tests/ ``` Use nosetests to run unit tests
```yaml language: python python: - "2.6" - "2.7" - "3.2" - "3.3" - "3.4" - "3.5.0b3" - "3.5-dev" - "nightly" # command to install dependencies install: "pip install -r requirements.txt" # command to run tests script: nosetests ```
d9de0dc9-d582-4e80-b33d-250eb6c34b7c
{ "language": "YAML" }
```yaml # .readthedocs.yaml # Read the Docs configuration file # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details version: 2 build: os: ubuntu-22.04 tools: python: "3.10" jobs: post_checkout: - git fetch --unshallow commands: - tox -e doc python: install: - method: pip path: . sphinx: configuration: doc/conf.py fail_on_warning: true ``` Remove `jobs` section from config
```yaml # .readthedocs.yaml # Read the Docs configuration file # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details version: 2 build: os: ubuntu-22.04 tools: python: "3.10" commands: - git fetch --unshallow - pip install tox - tox -e doc python: install: - method: pip path: . sphinx: configuration: doc/conf.py fail_on_warning: true ```
ca2fdf1c-7916-4b1c-a958-82d5ab03c85c
{ "language": "YAML" }
```yaml --- features: - | Lease status is introduced in this release. With this change, transition graphs of statuses of leases, reservations, and events are redefined while keeping backward compatibility. If you update Blazar from an older version, the lease status is automatically updated from *None* at the time of an event or an API call. See `state machine documentation`_ for more details. .. _state machine documentation: https://docs.openstack.org/blazar/latest/user/state-machines.html``` Correct information in state machine release note
```yaml --- features: - | Lease status is introduced in this release. With this change, transition graphs of statuses of leases, reservations, and events are redefined while keeping backward compatibility. If you update Blazar from an older version, the lease status is automatically updated from *None* by an Alembic database migration script. See `state machine documentation`_ for more details. .. _state machine documentation: https://docs.openstack.org/blazar/latest/user/state-machines.html ```
4180dcd1-fe2a-48ff-8e17-8afdf2426358
{ "language": "YAML" }
```yaml version: '2' volumes: redis-data: driver: local services: server: image: "quay.io/bionano/mdtapps_server:${VERSION}" environment: CCC: "ccc.bionano.autodesk.com:9000" NODE_ENV: "production" FRONTEND_URL: "http://molsim.bionano.autodesk.com/" REDIS_HOST: "${prod.mst.redis.host}" logging: driver: json-file options: max-size: 50m ``` Update to DNS env redis entry
```yaml version: '2' volumes: redis-data: driver: local services: server: image: "quay.io/bionano/mdtapps_server:${VERSION}" environment: CCC: "ccc.bionano.autodesk.com:9000" NODE_ENV: "production" FRONTEND_URL: "http://molsim.bionano.autodesk.com/" REDIS_HOST: "redis.${BNR_ENVIRONMENT}.bionano.bio" logging: driver: json-file options: max-size: 50m ```
f43127ec-5685-4abc-a795-4303a144cd11
{ "language": "YAML" }
```yaml homepage: https://github.com/jumper149/monad-control-identity changelog-type: markdown hash: 5a0ada43c7645dadca12bfe2bafe0dc95157a6ef542b80300c9d86a77880f8c0 test-bench-deps: {} maintainer: felixspringer149@gmail.com synopsis: Stronger classes than monad-control changelog: | # Revision history for monad-control-identity ## 0.1.0.0 -- 2020-07-17 * First version. Released on an unsuspecting world. basic-deps: base: '>=4.14 && <4.15' monad-control: '>=1.0.2.3 && <1.1' transformers-base: '>=0.4.5.2 && <0.5' transformers: '>=0.5.6.2 && <0.6' all-versions: - 0.1.0.0 author: Felix Springer latest: 0.1.0.0 description-type: haddock description: '' license-name: BSD-3-Clause ``` Update from Hackage at 2020-07-17T10:16:13Z
```yaml homepage: https://github.com/jumper149/monad-control-identity changelog-type: markdown hash: 48a340ce10735e4a9f0ea0c9397c5990e2d8d8bfa73fe46a2eb351979d12ab40 test-bench-deps: {} maintainer: felixspringer149@gmail.com synopsis: Stronger classes than monad-control changelog: | # Revision history for monad-control-identity ## 0.1.0.1 -- 2020-07-17 * Accept older versions of dependencies. ## 0.1.0.0 -- 2020-07-17 * First version. Released on an unsuspecting world. basic-deps: base: '>=4.5 && <5' monad-control: '>=1.0.2.3 && <1.1' transformers-base: '>=0.4.5.2 && <0.5' transformers: '>=0.5.6.2 && <0.6' all-versions: - 0.1.0.0 - 0.1.0.1 author: Felix Springer latest: 0.1.0.1 description-type: haddock description: '' license-name: BSD-3-Clause ```
e11aeffa-99fe-4f68-9062-876ee9ccd6b9
{ "language": "YAML" }
```yaml # obligatory fields name: gitless version: git summary: A simple version control system built on top of Git description: | Gitless is an experimental version control system built on top of Git. Many people complain that Git is hard to use. We think the problem lies deeper than the user interface, in the concepts underlying Git. Gitless is an experiment to see what happens if you put a simple veneer on an app that changes the underlying concepts. Because Gitless is implemented on top of Git (could be considered what Git pros call a "porcelain" of Git), you can always fall back on Git. And of course your coworkers you share a repo with need never know that you're not a Git aficionado. base: core18 grade: devel # 'stable' for stable/candidate upload confinement: devmode # 'strict' after right plugs and slots # 'optional' fields apps: gl: command: bin/gl parts: libgit2: plugin: cmake source: https://github.com/libgit2/libgit2/archive/v0.27.0.tar.gz build-packages: - libssl-dev gitless-cli: plugin: python source: . after: [libgit2] # need git until https://github.com/sdg-mit/gitless/issues/176 stage-packages: - git build-packages: - git ``` Use recommended 0.26.x version of libgit2
```yaml # obligatory fields name: gitless version: git summary: A simple version control system built on top of Git description: | Gitless is an experimental version control system built on top of Git. Many people complain that Git is hard to use. We think the problem lies deeper than the user interface, in the concepts underlying Git. Gitless is an experiment to see what happens if you put a simple veneer on an app that changes the underlying concepts. Because Gitless is implemented on top of Git (could be considered what Git pros call a "porcelain" of Git), you can always fall back on Git. And of course your coworkers you share a repo with need never know that you're not a Git aficionado. base: core18 grade: devel # 'stable' for stable/candidate upload confinement: devmode # 'strict' after right plugs and slots # 'optional' fields apps: gl: command: bin/gl parts: libgit2: plugin: cmake # https://www.pygit2.org/install.html#version-numbers source: https://github.com/libgit2/libgit2/archive/v0.26.8.tar.gz build-packages: - libssl-dev gitless-cli: plugin: python source: . after: [libgit2] # need git until https://github.com/sdg-mit/gitless/issues/176 stage-packages: - git build-packages: - git ```
430f4573-cd12-41ec-957d-8ea6c0fa265e
{ "language": "YAML" }
```yaml project_name: jsonpatch.js project_url: https://github.com/dharmafly/jsonpatch.js version: '1.0.0-dev' jquery_no_conflict: true theme: sundae twitter_url: https://twitter.com/dharmafly twitter_name: Dharmafly lang: javascript scripts: quote: cite: Thomas Jefferson quote: The hole and the patch should be commensurate. ga_id: UA-34978047-4 download_links: - title: Master branch zip href: https://github.com/dharmafly/jsonpatch.js/zipball/master text: jsonpatch.js subtext: v{{ version }} sections: - path: /index.html name: Overview - path: /reference/index.html name: Reference``` Update docs version to 1.0.0-rc1
```yaml project_name: jsonpatch.js project_url: https://github.com/dharmafly/jsonpatch.js version: '1.0.0-rc1' jquery_no_conflict: true theme: sundae twitter_url: https://twitter.com/dharmafly twitter_name: Dharmafly lang: javascript scripts: quote: cite: Thomas Jefferson quote: The hole and the patch should be commensurate. ga_id: UA-34978047-4 download_links: - title: Master branch zip href: https://github.com/dharmafly/jsonpatch.js/zipball/master text: jsonpatch.js subtext: v{{ version }} sections: - path: /index.html name: Overview - path: /reference/index.html name: Reference```
23880f13-696b-4bdd-97fd-346a80c8180c
{ "language": "YAML" }
```yaml Corvus\AdminBundle\Entity\About: type: entity table: null fields: id: type: integer id: true generator: strategy: AUTO firstname: type: string lastname: type: string age: type: integer bio: type: string address: type: string nullable: true location: type: string nullable: true interests_hobbies: type: string nullable: true email_address: type: string twitter: type: string nullable: true facebook: type: string nullable: true lifecycleCallbacks: { } ``` Set Bio field length to 15000, interests_hobbies to 10000
```yaml Corvus\AdminBundle\Entity\About: type: entity table: null fields: id: type: integer id: true generator: strategy: AUTO firstname: type: string lastname: type: string age: type: integer bio: type: string length: 15000 address: type: string nullable: true location: type: string nullable: true interests_hobbies: type: string nullable: true length: 10000 email_address: type: string twitter: type: string nullable: true facebook: type: string nullable: true lifecycleCallbacks: { } ```
4e342d43-dc63-4efa-872e-e8acf3a5ee36
{ "language": "YAML" }
```yaml name: string_scanner version: 0.1.3+2 author: "Dart Team <misc@dartlang.org>" homepage: https://github.com/dart-lang/string_scanner description: > A class for parsing strings using a sequence of patterns. dependencies: charcode: "^1.1.0" path: ">=1.2.0 <2.0.0" source_span: ">=1.0.0 <2.0.0" dev_dependencies: test: ">=0.12.0 <0.13.0" environment: sdk: ">=1.2.0 <2.0.0" ``` Increase the SDK constraint to allow ^ constraints.
```yaml name: string_scanner version: 0.1.3+2 author: "Dart Team <misc@dartlang.org>" homepage: https://github.com/dart-lang/string_scanner description: > A class for parsing strings using a sequence of patterns. dependencies: charcode: "^1.1.0" path: "^1.2.0" source_span: "^1.0.0" dev_dependencies: test: ">=0.12.0 <0.13.0" environment: sdk: ">=1.8.0 <2.0.0" ```
80a00b36-c89b-4e7a-9713-8167236c1e15
{ "language": "YAML" }
```yaml name: source_span version: 1.5.1 description: A library for identifying source spans and locations. author: Dart Team <misc@dartlang.org> homepage: https://github.com/dart-lang/source_span environment: sdk: '>=1.8.0 <3.0.0' dependencies: charcode: ^1.0.0 path: '>=1.2.0 <2.0.0' term_glyph: ^1.0.0 dev_dependencies: test: '>=0.12.0 <2.0.0' ``` Mark this as a dev version
```yaml name: source_span version: 1.5.1-dev description: A library for identifying source spans and locations. author: Dart Team <misc@dartlang.org> homepage: https://github.com/dart-lang/source_span environment: sdk: '>=1.8.0 <3.0.0' dependencies: charcode: ^1.0.0 path: '>=1.2.0 <2.0.0' term_glyph: ^1.0.0 dev_dependencies: test: '>=0.12.0 <2.0.0' ```
c83fa2be-b2c1-48b0-b96a-7d67885edbcc
{ "language": "YAML" }
```yaml name: intl version: 0.9.10-dev.1 author: Dart Team <misc@dartlang.org> description: Contains code to deal with internationalized/localized messages, date and number formatting and parsing, bi-directional text, and other internationalization issues. homepage: http://www.dartlang.org environment: sdk: '>=1.4.0-dev.6.6 <2.0.0' documentation: http://api.dartlang.org/docs/pkg/intl dependencies: analyzer: '>=0.13.2 <0.14.0' path: '>=0.9.0 <2.0.0' dev_dependencies: serialization: '>=0.9.0 <0.10.0' unittest: '>=0.10.0 <0.12.0' ``` Expand version range on analyzer in intl dependency and prepare for release.
```yaml name: intl version: 0.9.10 author: Dart Team <misc@dartlang.org> description: Contains code to deal with internationalized/localized messages, date and number formatting and parsing, bi-directional text, and other internationalization issues. homepage: http://www.dartlang.org environment: sdk: '>=1.4.0-dev.6.6 <2.0.0' documentation: http://api.dartlang.org/docs/pkg/intl dependencies: analyzer: '>=0.13.2 <0.16.0' path: '>=0.9.0 <2.0.0' dev_dependencies: serialization: '>=0.9.0 <0.10.0' unittest: '>=0.10.0 <0.12.0' ```
cf485d42-199f-4636-8478-bd01dc6b3438
{ "language": "YAML" }
```yaml homepage: https://github.com/jxv/animate#readme changelog-type: '' hash: 006cb0aa3cbd79dc78186bf854f94ca294920b4f1c3333d79810829491170596 test-bench-deps: base: -any hspec: -any animate: -any vector: -any maintainer: Joe Vargas synopsis: Animation for sprites changelog: '' basic-deps: base: ! '>=4.7 && <5' vector: -any all-versions: - '0.0.0' author: '' latest: '0.0.0' description-type: markdown description: ! '# animate Animation for sprites ' license-name: BSD3 ``` Update from Hackage at 2017-11-19T02:29:00Z
```yaml homepage: https://github.com/jxv/animate#readme changelog-type: '' hash: bfb8f77edf5397583cf5a4c3e61b65008c8bde200f6deca4422e0ff7916212e2 test-bench-deps: base: -any hspec: -any animate: -any vector: -any maintainer: Joe Vargas synopsis: Animation for sprites changelog: '' basic-deps: base: ! '>=4.7 && <5' vector: -any all-versions: - '0.0.0' - '0.1.0' author: '' latest: '0.1.0' description-type: markdown description: ! '# animate Animation for sprites ' license-name: BSD3 ```
69204d2c-b097-45c3-a3a1-0448c78cdb13
{ "language": "YAML" }
```yaml homepage: https://github.com/swift-nav/shakers changelog-type: '' hash: b478b21abd8451de8f4fca3e18e4eec250a0fb38f50f586167a1d0c09e7be0ef test-bench-deps: {} maintainer: Mark Fine <dev@swiftnav.com> synopsis: Shake helpers. changelog: '' basic-deps: shake: -any base: ==4.8.* shakers: -any basic-prelude: -any directory: -any all-versions: - '0.0.0' - '0.0.2' - '0.0.3' - '0.0.4' - '0.0.5' - '0.0.6' - '0.0.7' - '0.0.8' - '0.0.9' - '0.0.10' - '0.0.11' - '0.0.12' - '0.0.13' - '0.0.14' - '0.0.15' - '0.0.16' - '0.0.17' author: Swift Navigation Inc. latest: '0.0.17' description-type: haddock description: Primitive helpers for Shake files. license-name: MIT ``` Update from Hackage at 2017-05-05T01:14:30Z
```yaml homepage: https://github.com/swift-nav/shakers changelog-type: '' hash: 70889338a92e509012f463407a4b25b8cb4f1c157c66f12248189190617c2d33 test-bench-deps: {} maintainer: Mark Fine <dev@swiftnav.com> synopsis: Shake helpers. changelog: '' basic-deps: shake: -any base: ==4.8.* shakers: -any basic-prelude: -any directory: -any all-versions: - '0.0.0' - '0.0.2' - '0.0.3' - '0.0.4' - '0.0.5' - '0.0.6' - '0.0.7' - '0.0.8' - '0.0.9' - '0.0.10' - '0.0.11' - '0.0.12' - '0.0.13' - '0.0.14' - '0.0.15' - '0.0.16' - '0.0.17' - '0.0.18' author: Swift Navigation Inc. latest: '0.0.18' description-type: haddock description: Primitive helpers for Shake files. license-name: MIT ```
9412990c-b1cf-4720-ae7a-94320398f1a9
{ "language": "YAML" }
```yaml os: Visual Studio 2017 version: 1.0.{build} environment: CLI_VERSION: 1.0.4 DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true NUGET_XMLDOC_MODE: skip branches: only: - master cache: - src\LondonTravel.Site\node_modules - '%APPDATA%\npm\node_modules' - '%APPDATA%\npm-cache' install: - ps: npm install -g npm@4.5.0 --loglevel=error - ps: npm install -g gulp@3.9.1 --loglevel=error - ps: .\Install-Emulator.ps1 build_script: - ps: .\Build.ps1 artifacts: - path: artifacts\publish nuget: disable_publish_on_pr: true skip_tags: false test: off ``` Print environment variable to test
```yaml os: Visual Studio 2017 version: 1.0.{build} environment: CLI_VERSION: 1.0.4 DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true NUGET_XMLDOC_MODE: skip branches: only: - master cache: - src\LondonTravel.Site\node_modules - '%APPDATA%\npm\node_modules' - '%APPDATA%\npm-cache' install: - ps: npm install -g npm@4.5.0 --loglevel=error - ps: npm install -g gulp@3.9.1 --loglevel=error - ps: .\Install-Emulator.ps1 - ps: Write-Host $env:Site__Authentication__UserStore__ServiceUri build_script: - ps: .\Build.ps1 artifacts: - path: artifacts\publish nuget: disable_publish_on_pr: true skip_tags: false test: off ```
8f39b38f-d2eb-438e-84b5-e9326c5cb72d
{ "language": "YAML" }
```yaml # http://www.appveyor.com/docs/appveyor-yml # Fix line endings in Windows. (runs before repo cloning) init: - git config --global core.autocrlf input # Test against these versions of Node.js. environment: matrix: - nodejs_version: "0.10" - nodejs_version: "0.11" # Install scripts. (runs after repo cloning) install: # Get the Node version with matching major & minor numbers - ps: If (!$(node --version).StartsWith('v' + $env:nodejs_version)) {Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version)} # Prevent Bower from asking questions. - set CI=true # Typical npm stuff. - npm install # Post-install test scripts. test_script: # Output useful info for debugging. - node --version - npm --version - npm test # Don't actually build. build: off # Set build version format here instead of in the admin panel. version: "{build}" ``` Break an exceptionally long line into smaller ones
```yaml # http://www.appveyor.com/docs/appveyor-yml # Fix line endings in Windows. (runs before repo cloning) init: - git config --global core.autocrlf input # Test against these versions of Node.js. environment: matrix: - nodejs_version: "0.10" - nodejs_version: "0.11" # Install scripts. (runs after repo cloning) install: # Get the Node version with matching major & minor numbers - ps: | If (!$(node --version).StartsWith('v' + $env:nodejs_version)) { Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version) } # Prevent Bower from asking questions. - set CI=true # Typical npm stuff. - npm install # Post-install test scripts. test_script: # Output useful info for debugging. - node --version - npm --version - npm test # Don't actually build. build: off # Set build version format here instead of in the admin panel. version: "{build}" ```
7f47eb89-d0fa-44b5-b82f-5d330319db45
{ "language": "YAML" }
```yaml version: 1.0.{build} environment: matrix: - PYTHON: "C:\\Python27" - PYTHON: "C:\\Python27-x64" install: - cmd: "%PYTHON%\\python.exe -m pip install --upgrade pip wheel" build: off test_script: - mkdir wheels - cmd: "%PYTHON%\\python.exe -m pip wheel --wheel-dir=wheels intbitset" - cmd: "%PYTHON%\\python.exe -m pip wheel --wheel-dir=wheels bitarray" - cmd: "%PYTHON%\\python.exe -m pip wheel --wheel-dir=wheels lxml==3.6.0" - cmd: "%PYTHON%\\python.exe -m pip wheel --wheel-dir=wheels tinyarray" - cmd: "%PYTHON%\\python.exe -m pip wheel --wheel-dir=wheels pyahocorasick" - cmd: "%PYTHON%\\python.exe -m pip wheel --wheel-dir=wheels simplejson - dir - dir wheels artifacts: - path: wheels\* deploy: - provider: BinTray username: pombreda version: "1" api_key: secure: vfOXPuSdGaUBQWCWhtXGWOKFoWulmg8dl3J8EP7RodmMN96VH8yeMQIHdU3f4+l/ subject: pombreda repo: thirdparty package: thirdparty publish: true override: true ``` Fix Appveyor YAML for simplejson
```yaml version: 1.0.{build} environment: matrix: - PYTHON: "C:\\Python27" - PYTHON: "C:\\Python27-x64" install: - cmd: "%PYTHON%\\python.exe -m pip install --upgrade pip wheel" build: off test_script: - mkdir wheels - cmd: "%PYTHON%\\python.exe -m pip wheel --wheel-dir=wheels intbitset" - cmd: "%PYTHON%\\python.exe -m pip wheel --wheel-dir=wheels bitarray" - cmd: "%PYTHON%\\python.exe -m pip wheel --wheel-dir=wheels lxml==3.6.0" - cmd: "%PYTHON%\\python.exe -m pip wheel --wheel-dir=wheels tinyarray" - cmd: "%PYTHON%\\python.exe -m pip wheel --wheel-dir=wheels pyahocorasick" - cmd: "%PYTHON%\\python.exe -m pip wheel --wheel-dir=wheels simplejson" - dir - dir wheels artifacts: - path: wheels\* deploy: - provider: BinTray username: pombreda version: "1" api_key: secure: vfOXPuSdGaUBQWCWhtXGWOKFoWulmg8dl3J8EP7RodmMN96VH8yeMQIHdU3f4+l/ subject: pombreda repo: thirdparty package: thirdparty publish: true override: true ```
891af8f5-de4b-46c6-ae43-a884dcb77464
{ "language": "YAML" }
```yaml # Build script environment: website_name: appychristmas website_psw: secure: AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAA024zePPvCk66gydYIQs9yAAAAAACAAAAAAADZgAAwAAAABAAAAB+S5P1aJBIWhhkE+KiLdv0AAAAAASAAACgAAAAEAAAAJPtZ5ujVMi64DpIJh8lHv4YAAAApa0suOy34O14yJnlFRxU5MqVR8XtH/v6FAAAABr7QCyAlMkCTbyPuHaAtJgjl4w8 init: - git config --global core.autocrlf true # Build script build_script: - ps: .\build.ps1 -Target "AppVeyor" -Configuration "Release" # Tests test: off # Branches to build branches: # Whitelist only: - develop - master - /r/.*/ - /release/.*/ - /hotfix/.*/ # Build cache cache: - tools -> build.cake artifacts: - path: artifacts name: appychristmas deploy_script: - '"C:\Program Files (x86)\IIS\Microsoft Web Deploy V3\msdeploy.exe" -source:IisApp=''%appveyor_build_folder%\artifacts'' -dest:IisApp=''%website_name%'',ComputerName=''https://%website_name%.scm.azurewebsites.net/msdeploy.axd'',UserName=''$%website_name%'',Password=''%website_psw%'',IncludeAcls=''False'',AuthType=''Basic'' -verb:sync -enablerule:AppOffline -enableRule:DoNotDeleteRule -retryAttempts:2'``` Remove deploy until it works...
```yaml # Build script environment: website_name: appychristmas website_psw: secure: AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAA024zePPvCk66gydYIQs9yAAAAAACAAAAAAADZgAAwAAAABAAAAB+S5P1aJBIWhhkE+KiLdv0AAAAAASAAACgAAAAEAAAAJPtZ5ujVMi64DpIJh8lHv4YAAAApa0suOy34O14yJnlFRxU5MqVR8XtH/v6FAAAABr7QCyAlMkCTbyPuHaAtJgjl4w8 init: - git config --global core.autocrlf true # Build script build_script: - ps: .\build.ps1 -Target "AppVeyor" -Configuration "Release" # Tests test: off # Branches to build branches: # Whitelist only: - develop - master - /r/.*/ - /release/.*/ - /hotfix/.*/ # Build cache cache: - tools -> build.cake artifacts: - path: artifacts name: appychristmas```
502b04ea-b284-4cee-b987-eee16b999199
{ "language": "YAML" }
```yaml os: Visual Studio 2015 configuration: Release install: - "SET PATH=C:\\Python34;C:\\Python34\\Scripts;%PATH%" - choco install gitversion.portable -pre -y - pip install codecov before_build: - nuget restore - ps: gitversion /l console /output buildserver build: project: Pegasus.sln after_test: - .\packages\OpenCover.4.6.519\tools\OpenCover.Console.exe -register:user -target:"nunit-console.exe" -targetargs:".\Pegasus.Tests\bin\%CONFIGURATION%\Pegasus.Tests.dll /noshadow /exclude=Performance" -filter:"+[Pegasus]* +[Pegasus.Common]* -[Pegasus]Pegasus.Parser.* -[Pegasus]Pegasus.Properties.*" -hideskipped:All -output:.\Pegasus.Tests\bin\%CONFIGURATION%\coverage.xml - codecov -X gcov -f ".\Pegasus.Tests\bin\%CONFIGURATION%\coverage.xml" cache: - packages -> **\packages.config artifacts: - path: 'Package\bin\**\*.nupkg' - path: 'Pegasus.Templates\bin\**\*.zip' - path: 'Pegasus.Package\bin\**\*.vsix' ``` Deploy to NuGet after build.
```yaml os: Visual Studio 2015 configuration: Release install: - "SET PATH=C:\\Python34;C:\\Python34\\Scripts;%PATH%" - choco install gitversion.portable -pre -y - pip install codecov before_build: - nuget restore - ps: gitversion /l console /output buildserver build: project: Pegasus.sln after_test: - .\packages\OpenCover.4.6.519\tools\OpenCover.Console.exe -register:user -target:"nunit-console.exe" -targetargs:".\Pegasus.Tests\bin\%CONFIGURATION%\Pegasus.Tests.dll /noshadow /exclude=Performance" -filter:"+[Pegasus]* +[Pegasus.Common]* -[Pegasus]Pegasus.Parser.* -[Pegasus]Pegasus.Properties.*" -hideskipped:All -output:.\Pegasus.Tests\bin\%CONFIGURATION%\coverage.xml - codecov -X gcov -f ".\Pegasus.Tests\bin\%CONFIGURATION%\coverage.xml" cache: - packages -> **\packages.config artifacts: - path: 'Package\bin\**\*.nupkg' - path: 'Pegasus.Templates\bin\**\*.zip' - path: 'Pegasus.Package\bin\**\*.vsix' deploy: provider: NuGet api_key: secure: 2tZ8tu75MkmhyIcFGzFZsukJx9WAfV94mMtIAnSlurGlGqKaUhG6n6fTimXiIQiB skip_symbols: false artifact: /.*\.nupkg/ ```
8652d990-bb2c-4b27-8954-1c6b6319cf85
{ "language": "YAML" }
```yaml version: 1.3.{build} os: Visual Studio 2015 configuration: Release platform: Any CPU assembly_info: patch: true file: '**\AssemblyInfo.*' assembly_version: '{version}' assembly_file_version: '{version}' assembly_informational_version: '{version}' cache: - packages -> **\packages.config before_build: - nuget restore build: verbosity: minimal``` Set PATH var during build to support VS 2015
```yaml version: 1.3.{build} os: Visual Studio 2015 configuration: Release platform: Any CPU assembly_info: patch: true file: '**\AssemblyInfo.*' assembly_version: '{version}' assembly_file_version: '{version}' assembly_informational_version: '{version}' cache: - packages -> **\packages.config before_build: - set PATH=C:\Program Files (x86)\MSBuild\14.0\Bin;%PATH% - nuget restore build: verbosity: minimal```
f4ee77a4-4c9e-40d3-b34a-98a96cde5bac
{ "language": "YAML" }
```yaml environment: matrix: - TARGET: x86_64-pc-windows-msvc VERSION: nightly - TARGET: i686-pc-windows-msvc VERSION: nightly - TARGET: x86_64-pc-windows-gnu VERSION: nightly - TARGET: i686-pc-windows-gnu VERSION: 1.40.0 access_token: secure: ZxcrtxQXwszRYNN6c1ZIagczEqzmQQZeYHY58izcmF0jdq/cptxJvFUoVxDmnoqj install: - ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-${env:VERSION}-${env:TARGET}.exe" -FileName "rust-nightly.exe" - ps: .\rust-nightly.exe /VERYSILENT /NORESTART /DIR="C:\rust" | Out-Null - ps: $env:PATH="$env:PATH;C:\rust\bin" - rustc -vV - cargo -vV - echo install build: off test_script: # TODO remove this loop when server 2016 lands on appveyor; related to https://github.com/steffengy/schannel-rs/issues/8 - set RUST_BACKTRACE=1 - ps: for($i=1; $i -le 3; $i++) { cmd /c "cargo test 2>&1"; if ($?) { break } } ``` Use MSI installation files for CI
```yaml environment: matrix: - TARGET: x86_64-pc-windows-msvc VERSION: nightly - TARGET: i686-pc-windows-msvc VERSION: nightly - TARGET: x86_64-pc-windows-gnu VERSION: nightly - TARGET: i686-pc-windows-gnu VERSION: 1.40.0 access_token: secure: ZxcrtxQXwszRYNN6c1ZIagczEqzmQQZeYHY58izcmF0jdq/cptxJvFUoVxDmnoqj install: - ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-${env:VERSION}-${env:TARGET}.msi" -FileName "rust-install.msi" - ps: msiexec /i "rust-install.msi" /qn /norestart INSTALLDIR="C:\rust" | Out-Null - ps: $env:PATH="$env:PATH;C:\rust\bin" - rustc -vV - cargo -vV - echo install build: off test_script: # TODO remove this loop when server 2016 lands on appveyor; related to https://github.com/steffengy/schannel-rs/issues/8 - set RUST_BACKTRACE=1 - ps: for($i=1; $i -le 3; $i++) { cmd /c "cargo test 2>&1"; if ($?) { break } } ```
a6e552d1-5af3-499f-92ec-28401dd67c20
{ "language": "YAML" }
```yaml # Build worker image (VM template) image: Visual Studio 2015 # scripts that are called at very beginning, before repo cloning init: - git config --global core.autocrlf input # enable patching of AssemblyInfo.* files assembly_info: patch: true file: AssemblyInfo.* assembly_version: "1.0.{build}" assembly_file_version: "{version}" assembly_informational_version: "{version}" platform: Any CPU configuration: Release before_build: - nuget restore src/StrangerData.sln build: parallel: true # enable MSBuild parallel builds project: src/StrangerData.sln # path to Visual Studio solution or project publish_nuget: true # package projects with .nuspec files and push to artifacts deploy: - provider: NuGet server: https://www.nuget.org/api/v2/package api_key: secure: '54fc160a-c901-4bcd-a578-f101ec55cf4b' artifact: /.*\.nupkg/ on: branch: master ``` Add new encrypted nuget api_key
```yaml # Build worker image (VM template) image: Visual Studio 2015 # scripts that are called at very beginning, before repo cloning init: - git config --global core.autocrlf input # enable patching of AssemblyInfo.* files assembly_info: patch: true file: AssemblyInfo.* assembly_version: "1.0.{build}" assembly_file_version: "{version}" assembly_informational_version: "{version}" platform: Any CPU configuration: Release before_build: - nuget restore src/StrangerData.sln build: parallel: true # enable MSBuild parallel builds project: src/StrangerData.sln # path to Visual Studio solution or project publish_nuget: true # package projects with .nuspec files and push to artifacts deploy: - provider: NuGet server: https://www.nuget.org/api/v2/package api_key: secure: ingFtxQjecEsrc2Ma2S259/K78gtFObeHFmbiDo2LQnGzgDL0l4TbRY+F1COVmZo artifact: /.*\.nupkg/ on: branch: master ```
cccf0b6a-38be-4bad-803d-ae6fff5b89c7
{ "language": "YAML" }
```yaml # Specify version format version: "{build}" os: - Visual Studio 2017 - Visual Studio 2019 platform: - x64 configuration: - Debug - Release init: - cmd: cmake --version - cmd: msbuild /version clone_folder: C:\projects\Dusk before_build: - ps: Start-FileDownload 'https://sdk.lunarg.com/sdk/download/1.2.154.1/windows/VulkanSDK-1.2.154.1-Installer.exe' - cmd: VulkanSDK-1.2.154.1-Installer.exe /S - cmd: set VULKAN_SDK=C:\VulkanSDK\1.2.154.1 - cmd: if "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2017" set CMAKE_GENERATOR_NAME=Visual Studio 15 2017 Win64 - cmd: if "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2019" set CMAKE_GENERATOR_NAME=Visual Studio 16 2019 build_script: - cmd: cd C:\projects\Dusk - cmd: mkdir Build - cmd: cd Build # - cmd: cmake -DBUILD_TESTS=ON -DBUILD_DEMOS=ON -G "%CMAKE_GENERATOR_NAME%" .. - cmd: cmake -DBUILD_TESTS=ON -G "%CMAKE_GENERATOR_NAME%" -A x64 .. - cmd: cmake --build . # - cmd: cmake --build . --target RUN_TESTS test: off ``` Fix CMake generation on AppVeyor
```yaml # Specify version format version: "{build}" os: - Visual Studio 2017 - Visual Studio 2019 platform: - x64 configuration: - Debug - Release init: - cmd: cmake --version - cmd: msbuild /version clone_folder: C:\projects\Dusk before_build: - ps: Start-FileDownload 'https://sdk.lunarg.com/sdk/download/1.2.154.1/windows/VulkanSDK-1.2.154.1-Installer.exe' - cmd: VulkanSDK-1.2.154.1-Installer.exe /S - cmd: set VULKAN_SDK=C:\VulkanSDK\1.2.154.1 build_script: - cmd: cd C:\projects\Dusk - cmd: mkdir Build - cmd: cd Build # TODO -DBUILD_TESTS=ON - cmd: if "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2017" cmake -G "Visual Studio 15 2017" .. - cmd: if "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2019" cmake -G "Visual Studio 16 2019" -A x64 .. - cmd: cmake --build . # - cmd: cmake --build . --target RUN_TESTS test: off ```
eaf5740e-944f-4f9a-a160-6ada925cbee8
{ "language": "YAML" }
```yaml build_script: msbuild nunit.sln /p:Configuration=Release /t:Rebuild test_script: - build /t:TestAll /p:Configuration=Release /p:ResultFormat=nunit2 - ps: $wc = New-Object 'System.Net.WebClient' - ps: $dir = "bin\Release\Results" - ps: $uri = "https://ci.appveyor.com/api/testresuls/nunit/$($env:APPVEYOR_JOB_ID)" - ps: foreach($item in (dir $dir "*.xml")) { $wc.UploadFile($uri, $item.FullName) } ``` Fix YAML syntax yet again!
```yaml build_script: msbuild nunit.sln /p:Configuration=Release /t:Rebuild test_script: - build /t:TestAll /p:Configuration=Release /p:ResultFormat=nunit2 - ps: $wc = New-Object 'System.Net.WebClient' - ps: $dir = "bin\Release\Results" - ps: $uri = "https://ci.appveyor.com/api/testresults/nunit/$($env:APPVEYOR_JOB_ID)" - ps: foreach($item in (dir $dir "*.xml")) { $wc.UploadFile($uri, $item.FullName) } ```
f94d7394-9f98-427a-92f0-e3c768f84d78
{ "language": "YAML" }
```yaml - version: 1.0.{build} image: Visual Studio 2017 configuration: - Release clone_folder: C:/openchemistry/avogadrolibs init: - cmd: environment: PATH: '%PATH%;%QTDIR%\bin' matrix: - CMAKE_GENERATOR: '"Ninja"' QTDIR: C:\Qt\5.6\msvc2015_64 platform: x64 TWINE_USERNAME: secure: SzeZ03l7jd21TtgkMyds7g== TWINE_PASSWORD: secure: S5cwk5CAZ1pxBBIiBqQhR0zYIkvuktHcjVZ+jocTL08= build_script: - ps: >- if ($env:appveyor_repo_tag -eq 'false') { & scripts\appveyor\build.bat } install: - ps: >- if ($env:appveyor_repo_tag -eq 'true') { cd c:\openchemistry\avogadrolibs .\scripts\appveyor\build-wheels.ps1 } deploy_script: - ps: >- if ($env:appveyor_repo_tag -eq 'true') { cd c:\openchemistry\avogadrolibs .\scripts\appveyor\upload-pypi.ps1 } ``` Encrypt secrets with openchemistry Appveyor account
```yaml - version: 1.0.{build} image: Visual Studio 2017 configuration: - Release clone_folder: C:/openchemistry/avogadrolibs init: - cmd: environment: PATH: '%PATH%;%QTDIR%\bin' matrix: - CMAKE_GENERATOR: '"Ninja"' QTDIR: C:\Qt\5.6\msvc2015_64 platform: x64 TWINE_USERNAME: secure: /dyl+sf2T84bLnO0uaEFSA== TWINE_PASSWORD: secure: S4lgG583FNPPUGhPBEwNkfeC5YHUFE/K9x3xujHO75I= build_script: - ps: >- if ($env:appveyor_repo_tag -eq 'false') { & scripts\appveyor\build.bat } install: - ps: >- if ($env:appveyor_repo_tag -eq 'true') { cd c:\openchemistry\avogadrolibs .\scripts\appveyor\build-wheels.ps1 } deploy_script: - ps: >- if ($env:appveyor_repo_tag -eq 'true') { cd c:\openchemistry\avogadrolibs .\scripts\appveyor\upload-pypi.ps1 } ```
3aeef607-05aa-4495-b1f7-31e182a38ebe
{ "language": "YAML" }
```yaml version: '{branch}-{build}' build_script: - cmd: ./gradlew.bat assemble test_script: - cmd: ./gradlew.bat check on_finish: - "SET PATH=C:\\Python34;C:\\Python34\\Scripts;%PATH%" - pip install codecov - codecov -e OS -f build/reports/jacoco/test/jacocoTestReport.xml # TODO submit multiple junit xml or combine all into single file - ps: | $url = "https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)" $file = '.\build\test-results\TEST-nl.esciencecenter.xenon.util.RealFileUtilsTest.xml' (New-Object 'System.Net.WebClient').UploadFile($url, (Resolve-Path $file)) $file = '.\build\test-results\TEST-nl.esciencecenter.xenon.adaptors.local.LocalUtilsTest.xml' (New-Object 'System.Net.WebClient').UploadFile($url, (Resolve-Path $file)) artifacts: - path: build/distributions/*.zip name: Java archive ``` Create jacoco xml + upload all unit test results.
```yaml version: '{branch}-{build}' build_script: - cmd: ./gradlew.bat assemble test_script: - cmd: ./gradlew.bat check on_finish: - "SET PATH=C:\\Python34;C:\\Python34\\Scripts;%PATH%" - "SET JDK=oraclejdk7" - ./gradlew.bat jacocoTestReport - pip install codecov - codecov -e OS -f build/reports/jacoco/test/jacocoTestReport.xml - ps: | $url = "https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)" $files = Get-ChildItem "build/test-results/" -Filter *.xml for ($i=0; $i -lt $files.Count; $i++) { (New-Object 'System.Net.WebClient').UploadFile($url, $files[$i]) } artifacts: - path: build/distributions/*.zip name: Java archive ```
2f87617d-42c9-46e0-ac28-c944247a70a5
{ "language": "YAML" }
```yaml version: '{build}' image: Visual Studio 2017 environment: LIBRARY_VERSION: '2.3.1' SONAR_LOGIN: secure: JNopXLZtkO5PD8yEj2+W1BZnbhq9oegXmTFgvVWQw67z5PtWwd+ngjv5O7xFetCZ install: - ps: dotnet tool install --global dotnet-sonarscanner test: off before_build: - ps: dotnet sonarscanner begin /k:"rosolko_WebDriverManager.Net" /v:$env:LIBRARY_VERSION /o:"rosolko-github" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.login=$env:SONAR_LOGIN /d:sonar.language="cs" /d:sonar.exclusions="**/bin/**/*,**/obj/**/*" /d:sonar.coverage.exclusions="WebDriverManager.Tests/**,**/*Tests.cs" /d:sonar.cs.opencover.reportsPaths="C:\projects\webdrivermanager-net\WebDriverManager.Tests\opencover.xml" build_script: - ps: dotnet restore - ps: dotnet build - ps: dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat="opencover" /p:CoverletOutput="opencover.xml" after_build: - ps: dotnet sonarscanner end /d:sonar.login=$env:SONAR_LOGIN artifacts: - path: '**\*.nupkg'``` Update also library version for travis
```yaml version: '{build}' image: Visual Studio 2017 environment: LIBRARY_VERSION: '2.4.0' SONAR_LOGIN: secure: JNopXLZtkO5PD8yEj2+W1BZnbhq9oegXmTFgvVWQw67z5PtWwd+ngjv5O7xFetCZ install: - ps: dotnet tool install --global dotnet-sonarscanner test: off before_build: - ps: dotnet sonarscanner begin /k:"rosolko_WebDriverManager.Net" /v:$env:LIBRARY_VERSION /o:"rosolko-github" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.login=$env:SONAR_LOGIN /d:sonar.language="cs" /d:sonar.exclusions="**/bin/**/*,**/obj/**/*" /d:sonar.coverage.exclusions="WebDriverManager.Tests/**,**/*Tests.cs" /d:sonar.cs.opencover.reportsPaths="C:\projects\webdrivermanager-net\WebDriverManager.Tests\opencover.xml" build_script: - ps: dotnet restore - ps: dotnet build - ps: dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat="opencover" /p:CoverletOutput="opencover.xml" after_build: - ps: dotnet sonarscanner end /d:sonar.login=$env:SONAR_LOGIN artifacts: - path: '**\*.nupkg'```
bce79886-7d53-4578-8d02-3d073401daf6
{ "language": "YAML" }
```yaml environment: matrix: # AppVeyor installed Python versions # http://www.appveyor.com/docs/installed-software#python - PYTHON_INSTALL: "C:\\Python27" - PYTHON_INSTALL: "C:\\Python33" - PYTHON_INSTALL: "C:\\Python34" - PYTHON_INSTALL: "C:\\Python35" install: # Make compiler available (use MSVC 2013, 32 bit) - call "%ProgramFiles(x86)%\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" x86 # Check compiler version - cl # Prepend Python installation to PATH - "SET PATH=%PYTHON_INSTALL%;%PATH%" # Check Python version - "python --version" build_script: - "python clcache.py --help" - "python clcache.py -s" test_script: - "python unittests.py" - "python integrationtests.py" after_test: # Get a rough overview about what happened in the tests. # This is not part of the actual testing but pure convenience. - "python clcache.py -s" ``` Whitelist branches in AppVeyor config
```yaml # whitelist branches to avoid testing feature branches twice (as branch and as pull request) branches: only: - master environment: matrix: # AppVeyor installed Python versions # http://www.appveyor.com/docs/installed-software#python - PYTHON_INSTALL: "C:\\Python27" - PYTHON_INSTALL: "C:\\Python33" - PYTHON_INSTALL: "C:\\Python34" - PYTHON_INSTALL: "C:\\Python35" install: # Make compiler available (use MSVC 2013, 32 bit) - call "%ProgramFiles(x86)%\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" x86 # Check compiler version - cl # Prepend Python installation to PATH - "SET PATH=%PYTHON_INSTALL%;%PATH%" # Check Python version - "python --version" build_script: - "python clcache.py --help" - "python clcache.py -s" test_script: - "python unittests.py" - "python integrationtests.py" after_test: # Get a rough overview about what happened in the tests. # This is not part of the actual testing but pure convenience. - "python clcache.py -s" ```
90437f64-3380-4017-a93c-339f727c4a91
{ "language": "YAML" }
```yaml # Copyright 2008 the Melange authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # TODO(proto): uncomment and supply a Google App Engine application instance # application: FIXME version: 1 runtime: python api_version: 1 handlers: - url: /content static_dir: content - url: /.* script: main.py ``` Make static content framework- and program-specific.
```yaml # Copyright 2008 the Melange authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # TODO(proto): uncomment and supply a Google App Engine application instance # application: FIXME version: 1 runtime: python api_version: 1 handlers: - url: /soc/content static_dir: soc/content - url: /gsoc/content static_dir: gsoc/content - url: /ghop/content static_dir: ghop/content - url: /.* script: main.py ```
a849c4a2-17c5-4d4c-a4d8-cf5d9255d70c
{ "language": "YAML" }
```yaml version: "master-{build}" os: Windows Server 2012 R2 platform: - x64 services: - mysql environment: machine_user: test_user machine_pass: Pass@word1 machine_port: 5985 KITCHEN_YAML: .kitchen.appveyor.yml SSL_CERT_FILE: c:\projects\kitchen-machine\certs.pem matrix: - ruby_version: "21" clone_folder: c:\projects\kitchen-machine clone_depth: 1 branches: only: - master install: - ps: net user /add $env:machine_user $env:machine_pass - ps: net localgroup administrators $env:machine_user /add - ps: $env:PATH="C:\Ruby$env:ruby_version\bin;$env:PATH" - ps: gem install bundler --quiet --no-ri --no-rdoc - ps: Invoke-WebRequest -Uri http://curl.haxx.se/ca/cacert.pem -OutFile c:\projects\kitchen-machine\certs.pem build_script: - bundle install || bundle install || bundle install test_script: - bundle exec rake - bundle exec kitchen verify ``` Build on windows for all branches
```yaml version: "master-{build}" os: Windows Server 2012 R2 platform: - x64 services: - mysql environment: machine_user: test_user machine_pass: Pass@word1 machine_port: 5985 KITCHEN_YAML: .kitchen.appveyor.yml SSL_CERT_FILE: c:\projects\kitchen-machine\certs.pem matrix: - ruby_version: "21" clone_folder: c:\projects\kitchen-machine clone_depth: 1 install: - ps: net user /add $env:machine_user $env:machine_pass - ps: net localgroup administrators $env:machine_user /add - ps: $env:PATH="C:\Ruby$env:ruby_version\bin;$env:PATH" - ps: gem install bundler --quiet --no-ri --no-rdoc - ps: Invoke-WebRequest -Uri http://curl.haxx.se/ca/cacert.pem -OutFile c:\projects\kitchen-machine\certs.pem build_script: - bundle install || bundle install || bundle install test_script: - bundle exec rake - bundle exec kitchen verify ```
7e85b7e7-e979-4146-b14f-adfde99cd048
{ "language": "YAML" }
```yaml version: 0.4 ({build}) skip_branch_with_pr: true os: - Visual Studio 2017 platform: - x64 matrix: fast_finish: true # Stop remaining jobs after a job failure configuration: - Release clone_folder: C:\RosettaStone install: - git submodule update --init - ps: | $env:CMAKE_GENERATOR = "Visual Studio 15 2017 Win64" before_build: - md C:\RosettaStone\build - cd C:\RosettaStone\build - cmake .. -G "%CMAKE_GENERATOR%" build: project: C:\RosettaStone\build\RosettaStone.sln parallel: true verbosity: normal after_build: - C:\RosettaStone\build\bin\Release\UnitTests.exe``` Add environment variables for pybind11
```yaml version: 0.4 ({build}) skip_branch_with_pr: true os: - Visual Studio 2017 platform: - x64 matrix: fast_finish: true # Stop remaining jobs after a job failure configuration: - Release clone_folder: C:\RosettaStone install: - git submodule update --init - ps: | $env:CMAKE_GENERATOR = "Visual Studio 15 2017 Win64" $env:PYTHON = "36-x64" $env:PATH = "C:\Python$env:PYTHON\;C:\Python$env:PYTHON\Scripts\;$env:PATH" before_build: - md C:\RosettaStone\build - cd C:\RosettaStone\build - cmake .. -G "%CMAKE_GENERATOR%" build: project: C:\RosettaStone\build\RosettaStone.sln parallel: true verbosity: normal after_build: - C:\RosettaStone\build\bin\Release\UnitTests.exe```
5497c335-d178-4027-b254-31845c5a43ef
{ "language": "YAML" }
```yaml version: 1.0.{build} shallow_clone: true environment: matrix: - LUA: 5.1 - LUA: 5.2 - LUA: 5.3 configuration: MinGW platform: x86 before_build: set PATH=C:\mingw\bin;%PATH% build_script: python hererocks.py here --lua "%LUA%" --verbose test_script: here\bin\lua -v ``` Test cl.exe RioLua build on Appveyor
```yaml version: 1.0.{build} shallow_clone: true environment: matrix: - LUA: 5.1 - LUA: 5.2 - LUA: 5.3 configuration: - 2015 platform: x86 before_build: '"C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\vcvarsall.bat"' build_script: python hererocks.py here --lua "%LUA%" --verbose --target cl test_script: here\bin\lua -v ```
1b8ed5ba-8070-4dc7-b290-e7e25fca736d
{ "language": "YAML" }
```yaml # Absolutely essential: we must build using VS 2019. os: Visual Studio 2019 branches: only: - master build_script: - cmd: curl -fsS -o antlr-4.8-complete.jar "https://www.antlr.org/download/antlr-4.8-complete.jar" - cmd: set Antlr4ToolPath="C:\projects\antlrvsix\antlr-4.8-complete.jar" - cmd: set JAVA_EXEC="C:\Progra~1\Java\jdk1.8.0\bin\java.exe" - cmd: set - cmd: MSBuild.exe /t:restore /p:Configuration=Debug AntlrVSIX.sln - cmd: MSBuild.exe /p:Configuration=Debug AntlrVSIX.sln ``` Add diagnostic output to Appveyor.
```yaml # Absolutely essential: we must build using VS 2019. os: Visual Studio 2019 branches: only: - master build_script: - cmd: curl -fsS -o antlr-4.8-complete.jar "https://www.antlr.org/download/antlr-4.8-complete.jar" - cmd: set Antlr4ToolPath="C:\projects\antlrvsix\antlr-4.8-complete.jar" - cmd: set JAVA_EXEC="C:\Progra~1\Java\jdk1.8.0\bin\java.exe" - cmd: set - cmd: MSBuild.exe /t:restore /p:Configuration=Debug /v:diag AntlrVSIX.sln - cmd: MSBuild.exe /p:Configuration=Debug /v:diag AntlrVSIX.sln ```
d4ec6e41-25b7-453a-b591-1a35b5abf1c7
{ "language": "YAML" }
```yaml version: 1.0.{build} environment: ftp_user: secure: f0a7Ydwv2347FyFroA9W2g== ftp_password: secure: Sei1iycTJNEoAKXYRT6R4QsjCmBYgl81iOd2Dp6Ch/s= install: - choco install pretzel -y - choco install pretzel.scriptcs -y - ps: $env:Path += ";C:\\Python35;C:\\Python35\\Scripts" - pip install creep cache: - C:\tools\Pretzel -> appveyor.yml - '%LOCALAPPDATA%\pip\Cache -> appveyor.yml' build_script: - ps: .\BakeAndDeploy.ps1 test: off artifacts: - path: src/_site name: compiled_site ``` Add cache for chocolatey packages
```yaml version: 1.0.{build} environment: ftp_user: secure: f0a7Ydwv2347FyFroA9W2g== ftp_password: secure: Sei1iycTJNEoAKXYRT6R4QsjCmBYgl81iOd2Dp6Ch/s= install: - choco install pretzel -y - choco install pretzel.scriptcs -y - ps: $env:Path += ";C:\\Python35;C:\\Python35\\Scripts" - pip install creep cache: - C:\tools\Pretzel -> appveyor.yml - C:\ProgramData\chocolatey\lib -> appveyor.yml - '%LOCALAPPDATA%\pip\Cache -> appveyor.yml' build_script: - ps: .\BakeAndDeploy.ps1 test: off artifacts: - path: src/_site name: compiled_site ```
858f387e-3d99-424c-a23b-1a07dd1e68d9
{ "language": "YAML" }
```yaml version: 1.0.{build} branches: only: - master configuration: - Debug - Release environment: matrix: - VS_VERSION: vs2012 - VS_VERSION: vs2013 install: - cinst wget - wget -nv -O premake.zip http://sourceforge.net/projects/premake/files/Premake/nightlies/premake-dev-windows.zip/download - unzip premake.zip - move bin\release\premake5.exe . before_build: - git submodule init - git submodule update - del /F /S build - premake5.exe %VS_VERSION% - dir build: project: build\%VS_VERSION%\enet-cs.sln verbosity: normal after_build: - tree artifacts: - path: build\$(VS_VERSION)\lib name: enetcs-$(configuration)-$(VS_VERSION) type: zip - path: build\$(VS_VERSION)\bin name: ENetDemo-$(configuration)-$(VS_VERSION) type: zip ``` Use £ syntax for project path. More directory listings.
```yaml version: 1.0.{build} branches: only: - master configuration: - Debug - Release environment: matrix: - VS_VERSION: vs2012 - VS_VERSION: vs2013 install: - cinst wget - wget -nv -O premake.zip http://sourceforge.net/projects/premake/files/Premake/nightlies/premake-dev-windows.zip/download - unzip premake.zip - move bin\release\premake5.exe . before_build: - git submodule init - git submodule update - del /F /S build - premake5.exe %VS_VERSION% - dir - dir build\%VS_VERSION% - tree build: project: build\$(VS_VERSION)\enet-cs.sln verbosity: normal after_build: - tree artifacts: - path: build\$(VS_VERSION)\lib name: enetcs-$(configuration)-$(VS_VERSION) type: zip - path: build\$(VS_VERSION)\bin name: ENetDemo-$(configuration)-$(VS_VERSION) type: zip ```
a746c9c2-0c2d-4711-8421-c2a846861ce4
{ "language": "YAML" }
```yaml version: "{build}" os: Windows Server 2012 R2 install: - choco install atom -y - cd %APPVEYOR_BUILD_FOLDER% - npm install build_script: - cd %APPVEYOR_BUILD_FOLDER% - npm test test: off deploy: off ``` Remove redundant step to install Atom on Appveyor CI
```yaml version: "{build}" os: Windows Server 2012 R2 install: - cd %APPVEYOR_BUILD_FOLDER% - npm install build_script: - cd %APPVEYOR_BUILD_FOLDER% - npm test test: off deploy: off ```
925ea132-9267-4264-b071-934687f8c122
{ "language": "YAML" }
```yaml version: 1.0.{build} image: Visual Studio 2017 configuration: - Release before_build: - cmd: nuget restore build: verbosity: minimal after_build: - cmd: dotnet pack GeneGenie.Gedcom\GeneGenie.Gedcom.csproj --configuration Release --output . --no-build artifacts: - path: '**/*.nupkg' name: nugetpackage deploy: - provider: NuGet api_key: secure: P8cmu7BZh3GOr+3bq5NVZEAEGnvjyC1wKhEmk4pcfTxiZwP7qS2t0pTPPn+q4ILC artifact: nugetpackage on: branch: master test_script: - dotnet test GeneGenie.Gedcom.Tests/GeneGenie.Gedcom.Tests.csproj /p:AltCover=true /p:AltCoverAssemblyExcludeFilter=GeneGenie.Gedcom.Tests after_test: - ps: | $env:PATH = 'C:\msys64\usr\bin;' + $env:PATH Invoke-WebRequest -Uri 'https://codecov.io/bash' -OutFile codecov.sh bash codecov.sh -f "GeneGenie.Gedcom.Tests/coverage.xml" -t $Env:CODECOV_TOKEN ``` Remove code coverage from build as it is causing the build to fail due to timeouts.
```yaml version: 1.0.{build} image: Visual Studio 2017 configuration: - Release before_build: - cmd: nuget restore build: verbosity: minimal after_build: - cmd: dotnet pack GeneGenie.Gedcom\GeneGenie.Gedcom.csproj --configuration Release --output . --no-build artifacts: - path: '**/*.nupkg' name: nugetpackage deploy: - provider: NuGet api_key: secure: P8cmu7BZh3GOr+3bq5NVZEAEGnvjyC1wKhEmk4pcfTxiZwP7qS2t0pTPPn+q4ILC artifact: nugetpackage on: branch: master test_script: - dotnet test GeneGenie.Gedcom.Tests/GeneGenie.Gedcom.Tests.csproj # - dotnet test GeneGenie.Gedcom.Tests/GeneGenie.Gedcom.Tests.csproj /p:AltCover=true /p:AltCoverAssemblyExcludeFilter=GeneGenie.Gedcom.Tests after_test: - ps: | $env:PATH = 'C:\msys64\usr\bin;' + $env:PATH Invoke-WebRequest -Uri 'https://codecov.io/bash' -OutFile codecov.sh bash codecov.sh -f "GeneGenie.Gedcom.Tests/coverage.xml" -t $Env:CODECOV_TOKEN ```
1f9924b7-153c-4a2c-8b63-eee800e0ea72
{ "language": "YAML" }
```yaml build_script: - cmd: 'c:\cygwin\bin\bash -lc "cd $APPVEYOR_BUILD_FOLDER; autoreconf -i && ./configure && make && make check"' ``` Add MSYS2/Mingw64 to Appveyor CI
```yaml environment: matrix: - MSYSTEM: MINGW64 BASH_PATH: C:\msys64\usr\bin\bash - BASH_PATH: c:\cygwin\bin\bash build_script: - cmd: '%BASH_PATH% -lc "cd $APPVEYOR_BUILD_FOLDER; autoreconf -i && ./configure && make && make check"' ```
47b30717-3761-465a-aaeb-d4a82a271f3e
{ "language": "YAML" }
```yaml version: 1.0.{build} image: Visual Studio 2017 configuration: - Release before_build: - cmd: nuget restore build: verbosity: minimal after_build: - cmd: dotnet pack GeneGenie.Gedcom\GeneGenie.Gedcom.csproj --configuration Release --output . --no-build artifacts: - path: '**/*.nupkg' name: nugetpackage deploy: - provider: NuGet api_key: secure: P8cmu7BZh3GOr+3bq5NVZEAEGnvjyC1wKhEmk4pcfTxiZwP7qS2t0pTPPn+q4ILC artifact: nugetpackage on: branch: master test_script: - cmd: SonarQube.bat ``` Update renewed and encrypted Nuget.org API key
```yaml version: 1.0.{build} image: Visual Studio 2017 configuration: - Release before_build: - cmd: nuget restore build: verbosity: minimal after_build: - cmd: dotnet pack GeneGenie.Gedcom\GeneGenie.Gedcom.csproj --configuration Release --output . --no-build artifacts: - path: '**/*.nupkg' name: nugetpackage deploy: - provider: NuGet api_key: secure: bcYrYC8tAmSYcblYfwjk9upKKLg6kEuQbYVAw9knvBSu32OOfmtXPXHwpDqSCadQ artifact: nugetpackage on: branch: master test_script: - cmd: SonarQube.bat ```
b92a85fe-7a6b-430b-8eb0-6761ab40a526
{ "language": "YAML" }
```yaml branches: except: - gh-pages environment: OPTIONS: publish=never TARGET_OS: windows nodejs_version: 7 matrix: - TARGET_ARCH: ia32 - TARGET_ARCH: x64 image: Visual Studio 2015 clone_folder: C:\Projects\Main clone_depth: 1 install: - cmd: echo "Repo URL" && git remote get-url origin - cmd: dir - ps: Install-Product node $env:nodejs_version - cmd: IF %nodejs_version% EQU 0.8 npm -g install npm@2 - cmd: IF %nodejs_version% EQU 0.8 set PATH=%APPDATA%\npm;%PATH% - cmd: npm -g install npm - cmd: IF %nodejs_version% NEQ 0.8 set PATH=%APPDATA%\npm;%PATH% - cmd: npm install test_script: - cmd: echo "NodeJS version" && node --version - cmd: echo "NPM version" && npm --version - cmd: echo "Test" && npm test build_script: - cmd: | set OPTIONS="%TARGET_OS% %TARGET_ARCH% %OPTIONS%" npm run pack - cmd: dir artifacts: - path: dist\*.* - path: dist\win\*.* deploy: - provider: GitHub draft: false prerelease: false auth_token: $(GITHUB_RELEASE_OAUTH) on: appveyor_repo_tag: true ``` Use before_deploy for sake of time-saving
```yaml branches: except: - gh-pages environment: OPTIONS: publish=never TARGET_OS: windows nodejs_version: 7 matrix: - TARGET_ARCH: ia32 - TARGET_ARCH: x64 image: Visual Studio 2015 clone_folder: C:\Projects\Main clone_depth: 1 install: - cmd: echo "Repo URL" && git remote get-url origin - cmd: dir - ps: Install-Product node $env:nodejs_version - cmd: IF %nodejs_version% EQU 0.8 npm -g install npm@2 - cmd: IF %nodejs_version% EQU 0.8 set PATH=%APPDATA%\npm;%PATH% - cmd: npm -g install npm - cmd: IF %nodejs_version% NEQ 0.8 set PATH=%APPDATA%\npm;%PATH% - cmd: npm install test_script: - cmd: echo "NodeJS version" && node --version - cmd: echo "NPM version" && npm --version - cmd: echo "Test" && npm test before_deploy: - cmd: | set OPTIONS="%TARGET_OS% %TARGET_ARCH% %OPTIONS%" npm run pack - cmd: dir artifacts: - path: dist\*.* - path: dist\win\*.* deploy: - provider: GitHub draft: false prerelease: false auth_token: $(GITHUB_RELEASE_OAUTH) on: appveyor_repo_tag: true ```
3d8c563b-ff0e-4aae-94c5-abf74bc613a0
{ "language": "YAML" }
```yaml version: "{build}" platform: x64 branches: only: - master clone_depth: 10 skip_tags: true environment: APM_TEST_PACKAGES: ATOM_GITHUB_FS_EVENT_LOG: '1' MOCHA_TIMEOUT: '60000' UNTIL_TIMEOUT: '30000' matrix: - ATOM_CHANNEL: stable - ATOM_CHANNEL: beta - ATOM_CHANNEL: dev install: - ps: Install-Product node 8 build_script: - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/atom/ci/master/build-package.ps1')) test: off deploy: off ``` Revert the speculative Node upgrade on AppVeyor
```yaml version: "{build}" platform: x64 branches: only: - master clone_depth: 10 skip_tags: true environment: APM_TEST_PACKAGES: ATOM_GITHUB_FS_EVENT_LOG: '1' MOCHA_TIMEOUT: '60000' UNTIL_TIMEOUT: '30000' matrix: - ATOM_CHANNEL: stable - ATOM_CHANNEL: beta - ATOM_CHANNEL: dev install: - ps: Install-Product node 6 build_script: - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/atom/ci/master/build-package.ps1')) test: off deploy: off ```
223095d4-ee1d-4f99-9075-4e7ab46c4e7e
{ "language": "YAML" }
```yaml version: 1.0.{build} branches: only: - development/r1.0 - release/r1.0 image: Visual Studio 2015 install: - cmd: >- set PATH=C:\Program Files (x86)\MSBuild\14.0\Bin;%PATH% dnvm install 1.0.0-rc1-update1 -r coreclr -arch x64 -nonative cache: C:\Users\appveyor\.dnx\packages build_script: - cmd: >- dnvm use 1.0.0-rc1-update1 -r coreclr -arch x64 dnu restore --quiet dnu build .\src\HTTPlease.Core --quiet test_script: - cmd: dnx -p test\HTTPlease.Core.Tests test deploy_script: - cmd: dnu pack .\src\HTTPlease.Core ``` Reduce output from DNU pack.
```yaml version: 1.0.{build} branches: only: - development/r1.0 - release/r1.0 image: Visual Studio 2015 install: - cmd: >- set PATH=C:\Program Files (x86)\MSBuild\14.0\Bin;%PATH% dnvm install 1.0.0-rc1-update1 -r coreclr -arch x64 -nonative cache: C:\Users\appveyor\.dnx\packages build_script: - cmd: >- dnvm use 1.0.0-rc1-update1 -r coreclr -arch x64 dnu restore --quiet dnu build .\src\HTTPlease.Core --quiet test_script: - cmd: dnx -p test\HTTPlease.Core.Tests test deploy_script: - cmd: dnu pack .\src\HTTPlease.Core --quiet ```
e7c3a92c-1cba-430a-9991-5a2518e04310
{ "language": "YAML" }
```yaml version: "{build}" os: Windows Server 2012 R2 install: - choco install atom -y - cd %APPVEYOR_BUILD_FOLDER% - "%LOCALAPPDATA%/atom/bin/apm clean" - "%LOCALAPPDATA%/atom/bin/apm install" build_script: - cd %APPVEYOR_BUILD_FOLDER% - "%LOCALAPPDATA%/atom/bin/apm test --path %LOCALAPPDATA%/atom/bin/atom.cmd" test: off deploy: off ``` Remove redundant atom install step
```yaml version: "{build}" os: Windows Server 2012 R2 install: - cd %APPVEYOR_BUILD_FOLDER% - npm install build_script: - cd %APPVEYOR_BUILD_FOLDER% - npm test test: off deploy: off ```
0447355d-c31d-4820-a814-2a60d7b9acb2
{ "language": "YAML" }
```yaml # Thanks for Grunt for template of this file! # http://www.appveyor.com/docs/appveyor-yml # Fix line endings in Windows. (runs before repo cloning) init: - git config --global core.autocrlf input # Test against these versions of Node.js. environment: matrix: - nodejs_version: "0.10" - nodejs_version: "0.11" # Allow failing jobs for bleeding-edge Node.js versions. matrix: allow_failures: - nodejs_version: "0.11" # Install scripts. (runs after repo cloning) install: # Get the latest stable version of Node 0.STABLE.latest - ps: Install-Product node $env:nodejs_version # Install subversion - choco install svn # Install bower - npm install # Post-install test scripts. test_script: # Output useful info for debugging. - node --version - npm --version - cmd: npm test # Don't actually build. build: off # Set build version format here instead of in the admin panel. version: "{build}" ``` Remove node@0.11 from Windows builds
```yaml # Thanks for Grunt for template of this file! # http://www.appveyor.com/docs/appveyor-yml # Fix line endings in Windows. (runs before repo cloning) init: - git config --global core.autocrlf input # Test against these versions of Node.js. environment: matrix: - nodejs_version: "0.10" # - nodejs_version: "0.11" # Allow failing jobs for bleeding-edge Node.js versions. matrix: allow_failures: - nodejs_version: "0.11" # Install scripts. (runs after repo cloning) install: # Get the latest stable version of Node 0.STABLE.latest - ps: Install-Product node $env:nodejs_version # Install subversion - choco install svn # Install bower - npm install # Post-install test scripts. test_script: # Output useful info for debugging. - node --version - npm --version - cmd: npm test # Don't actually build. build: off # Set build version format here instead of in the admin panel. version: "{build}" ```
2bd3648c-7d13-487d-a870-2be5579c0501
{ "language": "YAML" }
```yaml version: '{build}' pull_requests: do_not_increment_build_number: true branches: only: - master nuget: disable_publish_on_pr: true build_script: - ps: .\Build.ps1 test: off artifacts: - path: .\artifacts\*.nupkg name: NuGet deploy: - provider: NuGet server: https://www.myget.org/F/skarp/api/v2/package api_key: secure: QUUDwCiAHecwSEHztB/ANurfoE3BMOpibwyPmr852U3a7VEamjUTfpzv86wVCjLD skip_symbols: true on: branch: master - provider: NuGet name: production api_key: secure: O2aKtP6hbwJ7WLPp9s5GcTsOu/OiNL3Zfpuk1w7JjQAQPbT4P3JGD0FsrusyaYrc on: appveyor_repo_tag: true``` Update encrypted nuget api key
```yaml version: '{build}' pull_requests: do_not_increment_build_number: true branches: only: - master nuget: disable_publish_on_pr: true build_script: - ps: .\Build.ps1 test: off artifacts: - path: .\artifacts\*.nupkg name: NuGet deploy: - provider: NuGet server: https://www.myget.org/F/skarp/api/v2/package api_key: secure: QUUDwCiAHecwSEHztB/ANurfoE3BMOpibwyPmr852U3a7VEamjUTfpzv86wVCjLD skip_symbols: true on: branch: master - provider: NuGet name: production api_key: secure: Qek6svTX1SpK3gObDBpSD4szPqTfWgOhDJys4ShLmK26l7MtZg8u3+FlWI5MyHKi on: appveyor_repo_tag: true```
cf83fe26-238d-40a3-9d19-7dc79396175b
{ "language": "YAML" }
```yaml before_build: cmake . build_script: C:\Program Files\MSBuild\12.0\bin\msbuild FORMAT.sln ``` Fix build config, take 2.
```yaml before_build: cmake . build_script: \"C:\Program Files\MSBuild\12.0\bin\msbuild\" FORMAT.sln ```
6ac87d77-bc75-4d60-a67d-093f010c00d4
{ "language": "YAML" }
```yaml environment: CXX: cl CPPPATH: lz4/include;googletest-release-1.8.0/googletest/include matrix: - PYTHON: "C:\\Python27" install: # Install SCons - SET "PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%" - easy_install scons # Install LZ4 library - curl -L -o lz4.zip https://github.com/lz4/lz4/releases/download/v1.7.4.2/lz4_v1_7_4_win32.zip - mkdir lz4 - 7z x -olz4 lz4.zip - cp lz4/dll/liblz4.{dll,lib} . # Install Google test framework - curl -L -o googletest.zip https://github.com/google/googletest/archive/release-1.8.0.zip - mkdir googletest - 7z x googletest.zip - mkdir googletest_build - cd googletest_build - cmake --target debug ../googletest-release-1.8.0/googletest - msbuild gtest.sln - cp Debug/*.lib .. - cd .. build_script: - scons test_script: - lz4_stream_test ``` Revert "Silence warnings from msbuild"
```yaml environment: CXX: cl CPPPATH: lz4/include;googletest-release-1.8.0/googletest/include matrix: - PYTHON: "C:\\Python27" install: # Install SCons - SET "PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%" - easy_install scons # Install LZ4 library - curl -L -o lz4.zip https://github.com/lz4/lz4/releases/download/v1.7.4.2/lz4_v1_7_4_win32.zip - mkdir lz4 - 7z x -olz4 lz4.zip - cp lz4/dll/liblz4.{dll,lib} . # Install Google test framework - curl -L -o googletest.zip https://github.com/google/googletest/archive/release-1.8.0.zip - mkdir googletest - 7z x googletest.zip - mkdir googletest_build - cd googletest_build - cmake ../googletest-release-1.8.0/googletest - msbuild gtest.sln - cp Debug/*.lib .. - cd .. build_script: - scons test_script: - lz4_stream_test ```
659bcd83-d7cb-43fa-9236-72eda6104f73
{ "language": "YAML" }
```yaml teams: sig-instrumentation-leads: description: "" members: - brancz - dashpole - ehashman - logicalhan privacy: closed sig-instrumentation-approvers: description: "" members: - brancz - dashpole - ehashman - logicalhan - RainbowMango - serathius privacy: closed sig-instrumentation-members: description: "" members: - 44past4 - andyxning - brancz - coffeepac - dashpole - dgrisonnet - dims - DirectXMan12 - ehashman - erain - lilic - logicalhan - RainbowMango - s-urbaniak - serathius - tariq1890 - YoyinZyc - yuzhiquan privacy: closed ``` Add yangjunmyfm192085 to sig-instrumentation team
```yaml teams: sig-instrumentation-leads: description: "" members: - brancz - dashpole - ehashman - logicalhan privacy: closed sig-instrumentation-approvers: description: "" members: - brancz - dashpole - ehashman - logicalhan - RainbowMango - serathius privacy: closed sig-instrumentation-members: description: "" members: - 44past4 - andyxning - brancz - coffeepac - dashpole - dgrisonnet - dims - DirectXMan12 - ehashman - erain - lilic - logicalhan - RainbowMango - s-urbaniak - serathius - tariq1890 - yangjunmyfm192085 - YoyinZyc - yuzhiquan privacy: closed ```
5b8db996-ea49-4cc7-949c-9f6924de1c9b
{ "language": "YAML" }
```yaml (@ load("@ytt:data", "data") @)#@data/values --- scdf: deploy: binder: type: rabbit database: type: mariadb server: image: repository: (@= data.values.server.repository @) tag: (@= data.values.server.version @) ctr: image: tag: (@= data.values.ctr.version @) skipper: image: tag: (@= data.values.skipper.version @) ``` Add grafana to bundle default value
```yaml (@ load("@ytt:data", "data") @)#@data/values --- scdf: deploy: binder: type: rabbit database: type: mariadb server: image: repository: (@= data.values.server.repository @) tag: (@= data.values.server.version @) ctr: image: tag: (@= data.values.ctr.version @) skipper: image: tag: (@= data.values.skipper.version @) feature: monitoring: grafana: image: tag: (@= data.values.grafana.version @) ```
e7a10c4a-1166-4131-8734-46735fcdbb02
{ "language": "YAML" }
```yaml box: wercker/rvm build: steps: - script: name: install ruby code: | rvm get latest rvm reload rvm install ruby-2.2.5 rvm --default use 2.2.5 gem install bundler - bundle-install - script: name: echo ruby information code: | echo "RUBY version $(ruby --version) running" echo "FROM location $(which ruby)" echo -p "Gem list: $(gem list)" - script: name: rspec code: bundle exec rspec ``` Fix yml indendation for lists
```yaml box: wercker/rvm build: steps: - script: name: install ruby code: | rvm get latest rvm reload rvm install ruby-2.2.5 rvm --default use 2.2.5 gem install bundler - bundle-install - script: name: echo ruby information code: | echo "RUBY version $(ruby --version) running" echo "FROM location $(which ruby)" echo -p "Gem list: $(gem list)" - script: name: rspec code: bundle exec rspec ```
a9baf242-3d8a-4639-a2db-59db0cd9ab95
{ "language": "YAML" }
```yaml AllCops: TargetRubyVersion: 2.0 Exclude: - 'bin/**/*' Documentation: Enabled: false LineLength: Enabled: true Max: 120 MethodLength: Max: 20 IndentHash: Enabled: false Style/ClassAndModuleChildren: Enabled: false Style/FrozenStringLiteralComment: Enabled: false ``` Exclude spec from block length check
```yaml AllCops: TargetRubyVersion: 2.0 Exclude: - 'bin/**/*' Documentation: Enabled: false LineLength: Enabled: true Max: 120 MethodLength: Max: 20 IndentHash: Enabled: false Metrics/BlockLength: Exclude: - 'spec/**/*' Style/ClassAndModuleChildren: Enabled: false Style/FrozenStringLiteralComment: Enabled: false ```
ecddcef2-4b0d-4382-bd33-9a59d8bf7b63
{ "language": "YAML" }
```yaml # Number of days of inactivity before an issue becomes stale daysUntilStale: 60 # Number of days of inactivity before a stale issue is closed daysUntilClose: 7 # Issues with these labels will never be considered stale exemptLabels: - pinned - security # Label to use when marking an issue as stale staleLabel: stale # Comment to post when marking an issue as stale. Set to `false` to disable markComment: > This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. # Comment to post when closing a stale issue. Set to `false` to disable closeComment: false ``` Add org-wide config for Stale app
```yaml _extends: .github ```
e251b89c-7e15-4a54-9ab5-7a969b6c25c4
{ "language": "YAML" }
```yaml # --------------------------------------------------------------------------- # # general configuration # --------------------------------------------------------------------------- # version: 1.4.1.{build} branches: except: - net35 skip_tags: true # --------------------------------------------------------------------------- # # environment configuration # --------------------------------------------------------------------------- # clone_folder: C:\Cube\Cube.Net image: Visual Studio 2017 nuget: project_feed: true disable_publish_on_pr: true # --------------------------------------------------------------------------- # # build configuration # --------------------------------------------------------------------------- # platform: Any CPU configuration: Release before_build: - nuget restore Cube.Net.sln build: parallel: true project: Cube.Net.sln publish_nuget: true verbosity: normal # --------------------------------------------------------------------------- # # tests configuration # --------------------------------------------------------------------------- # test_script: - ..\packages\OpenCover.4.6.519\tools\OpenCover.Console.exe -register:user -target:"nunit3-console.exe" -targetargs:"Cube.Net.Tests.dll" -targetdir:".\Tests\bin\Release" -hideskipped:All -output:CoverResult.xml after_test: - "SET PATH=C:\\Python34;C:\\Python34\\Scripts;%PATH%" - pip install codecov - codecov -f "CoverResult.xml" ``` Add nuget source for Cube.Core
```yaml # --------------------------------------------------------------------------- # # general configuration # --------------------------------------------------------------------------- # version: 1.4.1.{build} branches: except: - net35 skip_tags: true # --------------------------------------------------------------------------- # # environment configuration # --------------------------------------------------------------------------- # clone_folder: C:\Cube\Cube.Net image: Visual Studio 2017 nuget: project_feed: true disable_publish_on_pr: true # --------------------------------------------------------------------------- # # build configuration # --------------------------------------------------------------------------- # platform: Any CPU configuration: Release before_build: - nuget sources add -name Cube.Core -source https://ci.appveyor.com/nuget/cube.core - nuget restore Cube.Net.sln build: parallel: true project: Cube.Net.sln publish_nuget: true verbosity: normal # --------------------------------------------------------------------------- # # tests configuration # --------------------------------------------------------------------------- # test_script: - ..\packages\OpenCover.4.6.519\tools\OpenCover.Console.exe -register:user -target:"nunit3-console.exe" -targetargs:"Cube.Net.Tests.dll" -targetdir:".\Tests\bin\Release" -hideskipped:All -output:CoverResult.xml after_test: - "SET PATH=C:\\Python34;C:\\Python34\\Scripts;%PATH%" - pip install codecov - codecov -f "CoverResult.xml" ```
3d6e9aba-8f04-4e96-ae48-af8483f8f2a4
{ "language": "YAML" }
```yaml homepage: http://www.haskus.org changelog-type: '' hash: aaec9a85a77aeec3d5b4849454a3fec52e6553659b4cb81bc89182d634c74ba9 test-bench-deps: haskus-utils-variant: -any base: ! '>=4.11.1.0 && <4.12' tasty-quickcheck: ! '>=0.8 && <0.11' tasty: ! '>=0.11 && <1.2' maintainer: sylvain@haskus.fr synopsis: Haskus utility modules changelog: '' basic-deps: base: ! '>=4.9 && <4.12' haskus-utils-data: ==1.1.* haskus-utils-types: ==1.1.* template-haskell: ! '>=2.13.0.0 && <2.14' all-versions: - '1.0' - '2.0' author: Sylvain Henry latest: '2.0' description-type: haddock description: ! 'Variant (extensible sum type) and EADT (extensible recursive sum type) datatypes.' license-name: BSD3 ``` Update from Hackage at 2018-10-28T17:45:01Z
```yaml homepage: http://www.haskus.org changelog-type: '' hash: 1f7fa6cac2bdfe4ce785c60c4636220e619854834ddde368a17b34d99aa1daa3 test-bench-deps: haskus-utils-variant: -any base: ! '>=4.11.1.0 && <4.12' tasty-quickcheck: ! '>=0.8 && <0.11' tasty: ! '>=0.11 && <1.2' maintainer: sylvain@haskus.fr synopsis: Variant and EADT changelog: '' basic-deps: base: ! '>=4.9 && <4.12' haskus-utils-data: ==1.1.* haskus-utils-types: ==1.1.* template-haskell: ! '>=2.13.0.0 && <2.14' all-versions: - '1.0' - '2.0' - '2.0.1' author: Sylvain Henry latest: '2.0.1' description-type: haddock description: ! 'Variant (extensible sum type) and EADT (extensible recursive sum type) datatypes. Documentation can be found at https://docs.haskus.org' license-name: BSD3 ```
99435b0f-374a-4bbc-9410-5c73cf6037b3
{ "language": "YAML" }
```yaml Categories: - Internet License: GPL-3.0-only AuthorName: Christian Schneppe SourceCode: https://github.com/kriztan/Pix-Art-Messenger IssueTracker: https://github.com/kriztan/Pix-Art-Messenger/issues Changelog: https://github.com/kriztan/Pix-Art-Messenger/blob/HEAD/CHANGELOG.md AutoName: Pix-Art Messenger RepoType: git Repo: https://github.com/kriztan/Pix-Art-Messenger Builds: - versionName: 2.0.2 versionCode: 233 commit: 2.0.2 gradle: - standard - versionName: 2.1.0 (beta 2018-07-15) versionCode: 237 commit: 2.1.0.3 gradle: - standard - versionName: 2.1.0 versionCode: 238 commit: 2.1.0 gradle: - standard - versionName: 2.1.1 versionCode: 243 commit: 2.1.1 gradle: - standard - versionName: 2.1.2 versionCode: 244 commit: 2.1.2 gradle: - standard AutoUpdateMode: Version %v UpdateCheckMode: Tags ^[0-9.]+$ CurrentVersion: 2.1.2 CurrentVersionCode: 244 ``` Update Pix-Art Messenger to 2.1.3 (246)
```yaml Categories: - Internet License: GPL-3.0-only AuthorName: Christian Schneppe SourceCode: https://github.com/kriztan/Pix-Art-Messenger IssueTracker: https://github.com/kriztan/Pix-Art-Messenger/issues Changelog: https://github.com/kriztan/Pix-Art-Messenger/blob/HEAD/CHANGELOG.md AutoName: Pix-Art Messenger RepoType: git Repo: https://github.com/kriztan/Pix-Art-Messenger Builds: - versionName: 2.0.2 versionCode: 233 commit: 2.0.2 gradle: - standard - versionName: 2.1.0 (beta 2018-07-15) versionCode: 237 commit: 2.1.0.3 gradle: - standard - versionName: 2.1.0 versionCode: 238 commit: 2.1.0 gradle: - standard - versionName: 2.1.1 versionCode: 243 commit: 2.1.1 gradle: - standard - versionName: 2.1.2 versionCode: 244 commit: 2.1.2 gradle: - standard - versionName: 2.1.3 versionCode: 246 commit: 2.1.3 gradle: - standard AutoUpdateMode: Version %v UpdateCheckMode: Tags ^[0-9.]+$ CurrentVersion: 2.1.3 CurrentVersionCode: 246 ```
dcd752ef-70f3-46de-b8e7-2c38e6505782
{ "language": "YAML" }
```yaml AntiFeatures: - NonFreeNet Categories: - Internet License: GPL-3.0-or-later SourceCode: https://github.com/R4md4c/GameDealz IssueTracker: https://github.com/R4md4c/GameDealz/issues AutoName: GameDealz Summary: A non-official client for IsThereAnyDeal.com RepoType: git Repo: https://github.com/R4md4c/GameDealz Builds: - versionName: '1.3' versionCode: 5 commit: v1.3 subdir: app gradle: - yes gradleprops: - ITAD_CLIENT_ID=6bf49a5917670519 - ITAD_CLIENT_SECRET=4fad0634c8176d83a21e140f83793e96e56a41be - ITAD_API_KEY=004fd25be2f2eafc446696f58bc052321ff26af4 AutoUpdateMode: Version v%v UpdateCheckMode: Tags CurrentVersion: '1.3' CurrentVersionCode: 5 ``` Update GameDealz to 1.4 (6)
```yaml AntiFeatures: - NonFreeNet Categories: - Internet License: GPL-3.0-or-later SourceCode: https://github.com/R4md4c/GameDealz IssueTracker: https://github.com/R4md4c/GameDealz/issues AutoName: GameDealz Summary: A non-official client for IsThereAnyDeal.com RepoType: git Repo: https://github.com/R4md4c/GameDealz Builds: - versionName: '1.3' versionCode: 5 commit: v1.3 subdir: app gradle: - yes gradleprops: - ITAD_CLIENT_ID=6bf49a5917670519 - ITAD_CLIENT_SECRET=4fad0634c8176d83a21e140f83793e96e56a41be - ITAD_API_KEY=004fd25be2f2eafc446696f58bc052321ff26af4 - versionName: '1.4' versionCode: 6 commit: v1.4 subdir: app gradle: - yes gradleprops: - ITAD_CLIENT_ID=6bf49a5917670519 - ITAD_CLIENT_SECRET=4fad0634c8176d83a21e140f83793e96e56a41be - ITAD_API_KEY=004fd25be2f2eafc446696f58bc052321ff26af4 AutoUpdateMode: Version v%v UpdateCheckMode: Tags CurrentVersion: '1.4' CurrentVersionCode: 6 ```
9d497515-7892-411d-9ec2-f1e1c0a52701
{ "language": "YAML" }
```yaml --- boxen::personal::osx_apps: - intellij-idea - pycharm - rubymine - viscosity - hipchat - firefox - docker boxen::personal::homebrew_packages: - tmux - jq - httpie ``` Add a number of packages
```yaml --- boxen::personal::osx_apps: - intellij-idea - pycharm - rubymine - viscosity - hipchat - firefox - docker - keepassx - steam - lifesize - postman boxen::personal::homebrew_packages: - tmux - jq - httpie - maven ```
0490a570-60b2-4ba1-b662-d84de3e837f6
{ "language": "YAML" }
```yaml version: 2 build: os: ubuntu-20.04 tools: python: "3.9" sphinx: configuration: docs/conf.py ``` Add requirements to read the docs config
```yaml version: 2 build: os: ubuntu-20.04 tools: python: "3.9" sphinx: configuration: docs/conf.py python: install: - requirements: requirements-dev.txt ```
c4c32b95-6bb2-4382-b666-ab6d5b4663ac
{ "language": "YAML" }
```yaml --- - name: Install MySQL apt: name={{ item }} update_cache={{ update_apt_cache }} state=present with_items: - mysql-server - mysql-client - libmysqlclient-dev tags: packages - name: Install mysqlclient pip: name=mysqlclient tags: packages - name: Ensure the MySQL service is running service: name=mysql state=started enabled=yes - name: update MySQL root password from the blank default sudo: yes mysql_user: name=root host="{{ gear_db_host }}" password="{{ mysql_root_password }}" login_user=root login_password="{{ mysql_root_password }}" check_implicit_admin=yes priv="*.*:ALL,GRANT" - name: Ensure that gear database is created become: yes become_user: mysql mysql_db: name={{ gear_db_name }} login_user=root login_password="{{ mysql_root_password }}" state=present - name: Ensure user has access to the database become: yes become_user: mysql mysql_user: name={{ gear_db_user }} password={{ gear_db_password }} login_user=root login_password="{{ mysql_root_password }}" priv="*.*:ALL,GRANT" state=present ``` Fix one more case of deprecated `sudo`
```yaml --- - name: Install MySQL apt: name={{ item }} update_cache={{ update_apt_cache }} state=present with_items: - mysql-server - mysql-client - libmysqlclient-dev tags: packages - name: Install mysqlclient pip: name=mysqlclient tags: packages - name: Ensure the MySQL service is running service: name=mysql state=started enabled=yes - name: update MySQL root password from the blank default become: yes become_user: root mysql_user: name=root host="{{ gear_db_host }}" password="{{ mysql_root_password }}" login_user=root login_password="{{ mysql_root_password }}" check_implicit_admin=yes priv="*.*:ALL,GRANT" - name: Ensure that gear database is created become: yes become_user: mysql mysql_db: name={{ gear_db_name }} login_user=root login_password="{{ mysql_root_password }}" state=present - name: Ensure user has access to the database become: yes become_user: mysql mysql_user: name={{ gear_db_user }} password={{ gear_db_password }} login_user=root login_password="{{ mysql_root_password }}" priv="*.*:ALL,GRANT" state=present ```
59ce0fe3-311c-4fde-97e2-7a85f142447c
{ "language": "YAML" }
```yaml skip_branch_with_pr: true environment: HOME: $(HOMEDRIVE)$(HOMEPATH) cache: - $(HOME)\.gradle\caches\build-cache-1 - $(HOME)\.gradle\caches\jars-1 - $(HOME)\.gradle\caches\jars-2 - $(HOME)\.gradle\caches\jars-3 - $(HOME)\.gradle\caches\modules-2 - $(HOME)\.gradle\caches\transforms-1 - $(HOME)\.gradle\wrapper\dists - $(HOME)\.m2\repository clone_depth: 50 # Do something useful here to override the default MSBuild (which would fail otherwise). build_script: - echo org.gradle.java.home=C:/Program Files/Java/jdk9>>%HOME%\.gradle\gradle.properties test_script: - gradlew test on_finish: - gradlew --stop # Fix "fileHashes.bin" being used by another process. - ps: | $url = "https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)" $pattern = '**\build\test-results\**\TEST-*.xml' foreach ($file in (Resolve-Path $pattern)) { (New-Object 'System.Net.WebClient').UploadFile($url, $file) } ``` Use Java 8 on AppVeyor
```yaml skip_branch_with_pr: true environment: HOME: $(HOMEDRIVE)$(HOMEPATH) cache: - $(HOME)\.gradle\caches\build-cache-1 - $(HOME)\.gradle\caches\jars-1 - $(HOME)\.gradle\caches\jars-2 - $(HOME)\.gradle\caches\jars-3 - $(HOME)\.gradle\caches\modules-2 - $(HOME)\.gradle\caches\transforms-1 - $(HOME)\.gradle\wrapper\dists - $(HOME)\.m2\repository clone_depth: 50 # Do something useful here to override the default MSBuild (which would fail otherwise). build_script: - gradlew classes test_script: - gradlew test on_finish: - gradlew --stop # Fix "fileHashes.bin" being used by another process. - ps: | $url = "https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)" $pattern = '**\build\test-results\**\TEST-*.xml' foreach ($file in (Resolve-Path $pattern)) { (New-Object 'System.Net.WebClient').UploadFile($url, $file) } ```
6bd7110b-0e06-461c-85ab-4c55423e18a6
{ "language": "YAML" }
```yaml configuration: Release test: assemblies: - '**\bin\$(configuration)\*.test.dll' artifacts: - path: src\PowerShell\$(configuration) name: msi.zip type: zip deploy: - provider: GitHub description: 'Direct module download' auth_token: secure: 5K94QY8dHKlbjvlBpQaXwAkmDf+LQE3g5WlU9snnNMjDjf0UT4xDoOBCLWcmwZOm artifact: /.*\.nupkg/ on: branch: master appveyor_repo_tag: true - provider: NuGet server: https://powershellgallery.com/api/v2 api_key: secure: 4STrzCp6wDsDBj/wCtmImMVL7wUI8DCGjdMBXGqQf9JZJ8LjmW5YSY8wtcHAv0XW artifact: /.*\.nupkg/ on: branch: master appveyor_repo_tag: true ``` Correct path to build output directory
```yaml configuration: Release test: assemblies: - '**\bin\$(configuration)\*.test.dll' artifacts: - path: src\PowerShell\bin\$(configuration) name: msi.zip type: zip deploy: - provider: GitHub description: 'Direct module download' auth_token: secure: 5K94QY8dHKlbjvlBpQaXwAkmDf+LQE3g5WlU9snnNMjDjf0UT4xDoOBCLWcmwZOm artifact: /.*\.nupkg/ on: branch: master appveyor_repo_tag: true - provider: NuGet server: https://powershellgallery.com/api/v2 api_key: secure: 4STrzCp6wDsDBj/wCtmImMVL7wUI8DCGjdMBXGqQf9JZJ8LjmW5YSY8wtcHAv0XW artifact: /.*\.nupkg/ on: branch: master appveyor_repo_tag: true ```
3709e2be-5285-4081-84cc-06d3e9cf3499
{ "language": "YAML" }
```yaml # Fix line endings on Windows init: - git config --global core.autocrlf true # What combinations to test environment: matrix: - nodejs_version: "0.10" - nodejs_version: "0.12" - nodejs_version: "4" - nodejs_version: "5" - nodejs_version: "6" - nodejs_version: "7" - nodejs_version: "8" platform: - x86 - x64 install: - ps: Install-Product node $env:nodejs_version - cmd: if [[ `npm -v` =~ ^[1-2] ]]; then npm i -g npm@3; fi - npm install test_script: # Output useful info for debugging. - node --version && npm --version # We test multiple Windows shells because of prior stdout buffering issues # filed against Grunt. https://github.com/joyent/node/issues/3584 - ps: "npm test # PowerShell" # Pass comment to PS for easier debugging - cmd: npm test build: off matrix: fast_finish: true cache: - node_modules -> package.json # local npm modules ``` Move to the test script to avoid npm was unexpected at this time.
```yaml # Fix line endings on Windows init: - git config --global core.autocrlf true # What combinations to test environment: matrix: - nodejs_version: "0.10" - nodejs_version: "0.12" - nodejs_version: "4" - nodejs_version: "5" - nodejs_version: "6" - nodejs_version: "7" - nodejs_version: "8" platform: - x86 - x64 install: - ps: Install-Product node $env:nodejs_version - npm install test_script: # Install npm@3 if the npm version is 1 or 2 - if [[ `npm -v` =~ ^[1-2] ]]; then npm i -g npm@3; fi # Output useful info for debugging. - node --version && npm --version # We test multiple Windows shells because of prior stdout buffering issues # filed against Grunt. https://github.com/joyent/node/issues/3584 - ps: "npm test # PowerShell" # Pass comment to PS for easier debugging - cmd: npm test build: off matrix: fast_finish: true cache: - node_modules -> package.json # local npm modules ```
da367806-ab61-4d0b-a724-1b1deca62618
{ "language": "YAML" }
```yaml version: '1.0.{build}' configuration: - Release platform: Any CPU branches: only: - master environment: # Don't report back to the mothership DOTNET_CLI_TELEMETRY_OPTOUT: 1 init: - ps: $Env:LABEL = "CI" + $Env:APPVEYOR_BUILD_NUMBER.PadLeft(5, "0") before_build: - appveyor-retry dotnet restore -v Minimal assembly_info: patch: true file: AssemblyInfo.cs assembly_version: '{version}' assembly_file_version: '{version}' assembly_informational_version: '{version}' build_script: - ps: C:\Projects\dotnet-make\src\dotnet-make\update_version.ps1 - dotnet build "src\dotnet-make" -c %CONFIGURATION% --no-dependencies --version-suffix %LABEL% after_build: - dotnet pack "src\dotnet-make" -c Release test_script: artifacts: - path: '**\*.nupkg' name: NuGet package deploy: provider: NuGet api_key: secure: 2yGf9wWYVIETYfooKme+gT7pKIbw94M2iwnMBZLlsZR5abhhBp6xpmsaIrodL1eC skip_symbols: true artifact: /.*\.nupkg/ cache: - '%USERPROFILE%\.nuget\packages' on_finish: ``` Fix - Run powershell script.
```yaml version: '1.0.{build}' configuration: - Release platform: Any CPU branches: only: - master environment: # Don't report back to the mothership DOTNET_CLI_TELEMETRY_OPTOUT: 1 init: - ps: $Env:LABEL = "CI" + $Env:APPVEYOR_BUILD_NUMBER.PadLeft(5, "0") before_build: - appveyor-retry dotnet restore -v Minimal assembly_info: patch: true file: AssemblyInfo.cs assembly_version: '{version}' assembly_file_version: '{version}' assembly_informational_version: '{version}' build_script: - ps: C:\projects\dotnet-make\src\dotnet-make\update-version.ps1 - dotnet build "src\dotnet-make" -c %CONFIGURATION% --no-dependencies --version-suffix %LABEL% after_build: - dotnet pack "src\dotnet-make" -c Release test_script: artifacts: - path: '**\*.nupkg' name: NuGet package deploy: provider: NuGet api_key: secure: 2yGf9wWYVIETYfooKme+gT7pKIbw94M2iwnMBZLlsZR5abhhBp6xpmsaIrodL1eC skip_symbols: true artifact: /.*\.nupkg/ cache: - '%USERPROFILE%\.nuget\packages' on_finish: ```
6b6a8dad-ec94-4270-a3e2-9fbabbfb1601
{ "language": "YAML" }
```yaml version: '{branch}.{build}' os: Windows Server 2012 R2 configuration: - Debug - Release platform: x64 environment: matrix: - PlatformToolset: v140 - PlatformToolset: v120 - PlatformToolset: Windows7.1SDK build_script: - > msbuild "json-c.vcxproj" /m /verbosity:normal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /p:PlatformToolset=%PlatformToolset% matrix: allow_failures: - PlatformToolset: v140 artifacts: - path: Debug\* name: Debug_x86 - path: Release\* name: Release_x86 - path: x64\Debug\* name: Debug_x64 - path: x64\Release\* name: Release_x64 ``` Create artefact with library and include files only
```yaml version: '{branch}.{build}' os: Windows Server 2012 R2 configuration: - Debug - Release platform: x64 environment: matrix: - PlatformToolset: v140 - PlatformToolset: v120 - PlatformToolset: Windows7.1SDK build_script: - > msbuild "json-c.vcxproj" /m /verbosity:normal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /p:PlatformToolset=%PlatformToolset% /p:OutDir=lib\ after_build: - md include\json-c - copy json.h include\json-c\* - copy debug.h include\json-c\* - copy linkhash.h include\json-c\* - copy arraylist.h include\json-c\* - copy json_util.h include\json-c\* - copy json_object.h include\json-c\* - copy json_tokener.h include\json-c\* - copy json_object_iterator.h include\json-c\* - copy json_c_version.h include\json-c\* - copy json_inttypes.h include\json-c\* - copy json_config.h include\json-c\* - copy json_object_private.h include\json-c\* - 7z a json-c.lib.zip lib\json-c.lib include\json-c\*.h matrix: allow_failures: - PlatformToolset: v140 artifacts: - path: json-c.lib.zip name: json-c.lib.zip ```
24d2fdbc-c6b2-417e-a8ec-4cb95a764721
{ "language": "YAML" }
```yaml version: "{build}" os: Windows Server 2012 R2 install: - choco install atom -y - cd %APPVEYOR_BUILD_FOLDER% - "%LOCALAPPDATA%/atom/bin/apm clean" - "%LOCALAPPDATA%/atom/bin/apm install" build_script: - cd %APPVEYOR_BUILD_FOLDER% - "%LOCALAPPDATA%/atom/bin/apm test --path %LOCALAPPDATA%/atom/bin/atom.cmd" test: off deploy: off ``` Test against both channels on AppVeyor
```yaml version: "{build}" platform: x64 branches: only: - master clone_depth: 10 skip_tags: true environment: APM_TEST_PACKAGES: matrix: - ATOM_CHANNEL: stable - ATOM_CHANNEL: beta install: - ps: Install-Product node 4 build_script: - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/atom/ci/master/build-package.ps1')) test: off deploy: off ```