Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Travis-CI - Continuos integration in the cloud ...
Search
Federico Lozada Mosto
June 17, 2014
Programming
100
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Travis-CI - Continuos integration in the cloud for PHP
Federico Lozada Mosto
June 17, 2014
More Decks by Federico Lozada Mosto
See All by Federico Lozada Mosto
Composer
mostofreddy
0
140
PHP 5.3 to 5.6
mostofreddy
2
110
Implementando una Arquitectura de Microservicios
mostofreddy
0
230
Introduction of Unit Testing
mostofreddy
1
120
PHP 5.4 - Features
mostofreddy
0
96
Other Decks in Programming
See All in Programming
私なりのハーネスエンジニアリング ~独自の言語処理系の開発を通して~
seosoft
0
180
現場と育てるRailsモデリング 〜Spreadsheetから始めたモデル設計〜
siroemk
2
1.2k
Coding with AI: How to trust the storyteller (AWS Community Day Adria, Ljubljana 2026)
slobodan
0
140
自作Discord音声botをLambda MicroVMsに移行した話 / Migrating My Discord Voice Bot to Lambda MicroVMs
akihisaikeda
1
290
Vue.jsで作る空間解析アプリとCapacitorプラグインのData Bridge
hal_spidernight
1
160
あなたの await、OS まで届いてる? strace で覗く JavaScript の非同期
hasutosasaki
1
2.2k
React Native経験者が Flutterを30⽇間触って驚いたこと
3saito
0
160
PumaからFalconに移行したRailsアプリケーションでの実践
falcon8823
0
360
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
600
Enforcing Your Architecture with Unit Tests in the AI Era (Swift Connection X)
steliosf
PRO
1
150
エージェントを使い続けるためのメタワーク / Meta-work for keeping using the agent
rkaga
6
2.2k
[DroidKnights 2026] Workflow AX: From Auto-Documented Policies to E2E Testing
raeminkang
0
540
Featured
See All Featured
SEO for Brand Visibility & Recognition
aleyda
0
4.9k
The Curse of the Amulet
leimatthew05
3
17k
Information Architects: The Missing Link in Design Systems
soysaucechin
1
1.3k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
320
Making Projects Easy
brettharned
120
6.8k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
3
3.9k
Odyssey Design
rkendrick25
PRO
2
930
Designing Powerful Visuals for Engaging Learning
tmiket
1
650
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.5k
Site-Speed That Sticks
csswizardry
13
1.6k
Agile that works and the tools we love
rasmusluckow
331
22k
Chasing Engaging Ingredients in Design
codingconduct
0
390
Transcript
Travis-CI Continuous integration in the cloud for PHP
Federico Lozada Mosto @mostofreddy @federicolozadamosto
Who makes tests? Who makes builds?
Who uses CI server?
Who uses multiple environments?
Hi, I’m Travis CI, a hosted continuous integration service for
open-source and private projects.
What?
Continous integration Open source Distributed
Android C/C++ Clojure Erlang Go Groovy Haskell Java Javascript NodeJS
Objective-C PERL PHP Phyton Ruby Scala
Services: MySQL PostgreSQL MongoDB CouchDB Redis Riak RabbitMQ Memcached Cassandra
Neo4j Elasticsearch Krestel SQLite3 ZeroMQ
Notifications: Email IRC Campfire Flowdock HipChat Sqwiggle Slack Webhook
Deploy: Appfog Cloud66 Heroku Modulus Nodejitsu OpenShift cloudControl CloudFoundry RubyGems
AWS OpsWorks PyPI Divshot.io Rackspace Cloud Files Npm S3 Ninefold Engine Yard Github Releases Custom deployment
How?
login How does it work?
service hook How does it work?
gi add .travis.yml git commit .travis.yml git push …. How
does it work?
gi add . git commit . git push …. service
hook run tests / builds fresh environments How does it work?
.travis.yml
.travis.yml
.travis.yml
Build lifecycle 1. before_install 2. install 3. before_script 4. script
5. after_script 6. after_success or after_failure
Build status
Why?
The end goal is...
with less effort Higher-quality code and...
#HAPPYDAY
Extras
xdebug xml xmlreader Xmlrpc xmlwriter xsl zip zlib [Zend Modules]
Xdebug bcmath bz2 Core ctype curl date dom ereg exif fileinfo filter ftp gd gettext hash iconv intl json libxml mbstring mcrypt mysql mysqli mysqlnd openssl pcntl pcre PDO pdo_mysql pdo_pgsql pdo_sqlite pgsql Phar posix readline Reflection session shmop SimpleXML soap sockets SPL sqlite3 standard sysvsem sysvshm tidy tokenizer VM - PHP
email recipients: -
[email protected]
on_success: [always|never|change] # default: change on_failure:
[always|never|change] # default: always irc: channels: - "chat.freenode.net#my-channel" on_success: [always|never|change] # default: always on_failure: [always|never|change] # default: always notifications
Apc Memcache Memcached Mongo Amqp Zmq Xdebug Redis PHP extensions
before_script - echo "extension = <extension>.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
PHP extensions before_script - pear install <extension> - echo "extension
= <extension>.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini - php -m
PHP extensions
http://yaml.travis-ci.org/ Travis lint
apt-get install !!! before_script: - curl http://repo.varnish-cache.org/debian/GPG-key.txt | \ sudo
apt-key add - - echo "deb http://repo.varnish-cache.org/ubuntu/ precise varnish-3.0" | \ sudo tee -a /etc/apt/sources.list - sudo apt-get update -qq - sudo apt-get install varnish
services services: - mongodb - couchdb - memcached env: -
DB=mysql before_script: - mongo mydb_test --eval 'db.addUser("travis", "test");' - if [[ "$DB" == "mysql" ]]; then mysql -e "create database IF NOT EXISTS hello_world_test;" -uroot; fi
How to skip a build [ci skip]
None
Federico Lozada Mosto @mostofreddy @federicolozadamosto Thanks!