Skip to content

Instantly share code, notes, and snippets.

View MariadeAnton's full-sized avatar

María de Antón MariadeAnton

View GitHub Profile
@meatballhat
meatballhat / 00-intro.md
Last active February 25, 2016 23:26
Ubuntu Precise edge opt-in examples

Welcome to our new Ubuntu Precise infrastructure for public repositories

What should I do?

  • If your current .yml file is just using our existing sudo enabled Precise builds, then look here.
  • If you're using a simple os: matrix, then look here
  • If you're currently using our containerized Precise builds but would like to try the new virtualized platform, then look here
  • If you're using a more complex matrix:, look here

You can also review the files below for some additional details on the build routing but the items outlined above should get you going.

@nlutsenko
nlutsenko / .travis.yml
Last active October 30, 2015 08:48
Make Travis-CI run your tests using different versions of Xcode
language: objective-c
os: osx
matrix:
include:
- osx_image: xcode7.0
- osx_image: xcode7.1
- osx_image: xcode7.2b1
@roosmaa
roosmaa / .travis.yml
Created September 15, 2015 21:13
Speed up Docker builds on TravisCI by reusing dependency containers
language: python
python:
- "2.7"
sudo: required
services:
- docker
install:
- $TRAVIS_BUILD_DIR/build-containers.py
script:
- docker run --rm my-app test
@cotsog
cotsog / com.apple.dt.instruments.process.analysis.plist
Created August 31, 2015 13:59
Appium Instruments authorization fix
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>allow-root</key>
<true/>
<key>authenticate-user</key>
<true/>
<key>class</key>
<string>user</string>
@solarce
solarce / docker_images.md
Created August 7, 2015 22:56
A quick list of the Travis Docker containers on quay.io that you can `docker pull`

The following is a list of public Docker images Travis uses for our container based builds. You can grab them with docker pull quay.io/travisci/travis-$lang.

  • Do note that they are large in size, 800MB - 1.8G

Images:

@cotsog
cotsog / .travis.yml
Created July 31, 2015 16:09
.travis.yml for gcc-5 compiler support on Travis CI
sudo: required
script:
- sudo unlink /usr/bin/gcc && sudo ln -s /usr/bin/gcc-5 /usr/bin/gcc
- gcc --version
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-5
@piscisaureus
piscisaureus / pr.md
Created August 13, 2012 16:12
Checkout github pull requests locally

Locate the section for your github remote in the .git/config file. It looks like this:

[remote "origin"]
	fetch = +refs/heads/*:refs/remotes/origin/*
	url = [email protected]:joyent/node.git

Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this: