The document discusses the benefits of exercise for mental health. Regular physical activity can help reduce anxiety and depression and improve mood and cognitive functioning. Exercise causes chemical changes in the brain that may help protect against mental illness and improve symptoms.
Continuous integration ( jen kins travis ci)Sadani Rodrigo
Continuous integration is a practice where developers integrate code into a shared repository frequently, at least daily, and automated builds and tests are used to detect errors early. Jenkins and Travis CI are popular open-source and SaaS continuous integration tools, respectively. Jenkins is highly extensible through plugins but requires more configuration, while Travis CI is easy to use but less customizable.
Tech Talk #5 : Apply CI tools in iOS development - Trương Minh KhôiNexus FrontierTech
This document discusses using Fastlane tools to automate iOS development workflows. Fastlane can be used to automate tasks like beta distribution, notifications, and deployment from any environment. It provides over 170 integrations and tools to manage certificates, profiles, builds, screenshots, app metadata and distribute builds. The document demonstrates setting up Fastlane using a Fastfile to define lanes for different tasks like testing, beta distribution, and notifications.
This document provides tips for implementing continuous integration (CI) for iOS projects. It recommends starting with the basics of Xcode and the command line, as well as version control and a CI server like Jenkins. Key tips include using scripts instead of plugins for more flexibility, being specific with xcodebuild options, specifying alternate output locations, and ensuring return codes. It also discusses automating tests, code coverage, documentation, and deployment to TestFlight for QA testing. The goal of CI for iOS is to automate building, testing, and deploying code changes to catch issues early and improve quality.
This document discusses time zone handling in Rails applications. It recommends:
1. Configuring ActiveRecord to use UTC as the default time zone and setting the application time zone.
2. Being careful with time zone conversions and aware that the meaning of times can change depending on the time zone. Dates like birthdays need special handling for time zones offset by more than 12 hours.
3. Following coding best practices like using Time.zone.now.utc and avoiding direct time conversions to avoid time zone issues. Proper time zone handling is important to avoid bugs.
- Jenkins is open source automation software that can be used to automate tasks related to building, testing, and deploying software. It provides continuous integration (CI) services.
- Jenkins 1.0 allowed for CI automation through jobs and plugins but ran on a single server. Jenkins 2.0 introduced pipelines that allow modeling complex CI/CD workflows using containerization with Docker.
- With Jenkins 2.0, complex multi-step CI/CD pipelines can be implemented using pipelines and plugins like the Docker Pipeline plugin to leverage containerization. This allows CI to be implemented across different environments like Windows, Mac, and Linux.
This document discusses deploying a Rails application via CircleCI. It introduces CircleCI for continuous integration and deployment and uses Capistrano for deployment. The CircleCI configuration deploys the develop branch and runs a deployment script that runs Capistrano to deploy to a development environment and restart the application.
The document discusses the benefits of exercise for mental health. Regular physical activity can help reduce anxiety and depression and improve mood and cognitive functioning. Exercise causes chemical changes in the brain that may help protect against mental illness and improve symptoms.
Continuous integration ( jen kins travis ci)Sadani Rodrigo
Continuous integration is a practice where developers integrate code into a shared repository frequently, at least daily, and automated builds and tests are used to detect errors early. Jenkins and Travis CI are popular open-source and SaaS continuous integration tools, respectively. Jenkins is highly extensible through plugins but requires more configuration, while Travis CI is easy to use but less customizable.
Tech Talk #5 : Apply CI tools in iOS development - Trương Minh KhôiNexus FrontierTech
This document discusses using Fastlane tools to automate iOS development workflows. Fastlane can be used to automate tasks like beta distribution, notifications, and deployment from any environment. It provides over 170 integrations and tools to manage certificates, profiles, builds, screenshots, app metadata and distribute builds. The document demonstrates setting up Fastlane using a Fastfile to define lanes for different tasks like testing, beta distribution, and notifications.
This document provides tips for implementing continuous integration (CI) for iOS projects. It recommends starting with the basics of Xcode and the command line, as well as version control and a CI server like Jenkins. Key tips include using scripts instead of plugins for more flexibility, being specific with xcodebuild options, specifying alternate output locations, and ensuring return codes. It also discusses automating tests, code coverage, documentation, and deployment to TestFlight for QA testing. The goal of CI for iOS is to automate building, testing, and deploying code changes to catch issues early and improve quality.
This document discusses time zone handling in Rails applications. It recommends:
1. Configuring ActiveRecord to use UTC as the default time zone and setting the application time zone.
2. Being careful with time zone conversions and aware that the meaning of times can change depending on the time zone. Dates like birthdays need special handling for time zones offset by more than 12 hours.
3. Following coding best practices like using Time.zone.now.utc and avoiding direct time conversions to avoid time zone issues. Proper time zone handling is important to avoid bugs.
- Jenkins is open source automation software that can be used to automate tasks related to building, testing, and deploying software. It provides continuous integration (CI) services.
- Jenkins 1.0 allowed for CI automation through jobs and plugins but ran on a single server. Jenkins 2.0 introduced pipelines that allow modeling complex CI/CD workflows using containerization with Docker.
- With Jenkins 2.0, complex multi-step CI/CD pipelines can be implemented using pipelines and plugins like the Docker Pipeline plugin to leverage containerization. This allows CI to be implemented across different environments like Windows, Mac, and Linux.
This document discusses deploying a Rails application via CircleCI. It introduces CircleCI for continuous integration and deployment and uses Capistrano for deployment. The CircleCI configuration deploys the develop branch and runs a deployment script that runs Capistrano to deploy to a development environment and restart the application.
Agile Japan 2013 Sapporo Satelite Workshop.
Presentation by @suzukiatsushi, @sandinist
The Cover Design by @darashi
Workshop Design by Agile Sapporo Team.
This document is a daily journal from Sunday, January 15, 2012. It describes the author's daily activities from waking up to going to bed, including having breakfast, going for a walk, reading, and relaxing in the evening. The day is presented as generally low-key and uneventful, with simple daily routines and tasks.
quanp for iPhone appbank japan tour 2nd in sapporoMaehana Tsuyoshi
This document discusses the quanp app for iPhone. Quanp is a file storage and sharing app developed by RICOH. It allows users to upload and download various file types from computers and mobile devices to access files on the go. The document highlights key features of quanp like integration with Safari, iTunes, and the iPhone. It is emphasized that quanp is completely free to use.
The document discusses agile methodology and its use in software development. It describes key aspects of agile like iterative development, adaptive planning, self-organizing teams, and values outlined in the Agile Manifesto. Examples of agile practices are mentioned, including Scrum, eXtreme Programming (XP), test-driven development (TDD), pair programming, continuous integration (CI). The document also shares experiences from an agile project involving Ruby on Rails and iOS development.
This document appears to be a presentation about Ruby on Rails. It includes sections on Ruby and its features, Rails and its MVC architecture and conventions like DRY and REST. It demonstrates creating a scaffolding for a sample Rails application and deploying the application to Heroku. The goal is to provide an introduction and overview of Ruby and Rails for beginners.
The document discusses features of the Ruby on Rails web framework. It covers the MVC architecture pattern used in Rails, the convention over configuration principle, and emphasis on the DRY (Don't Repeat Yourself) principle of software development. Examples of popular websites built with Rails are provided. The document also discusses Rails' use of dynamic programming languages, object-relational mapping, and support for automated testing.
- Ruby can be used to develop native smartphone applications for platforms like iPhone, Android, BlackBerry and Windows Mobile using frameworks like Rhodes.
- Rhodes is a multi-platform framework that uses Ruby and allows developing native smartphone apps in a Rails-like manner with features like MVC patterns, code generation and device functions.
- Rhodes supports developing apps for iPhone/iPad, Android, BlackBerry, and Windows Mobile and its code is open source with over 50,000 downloads in 2 years.
Agile Japan 2013 Sapporo Satelite Workshop.
Presentation by @suzukiatsushi, @sandinist
The Cover Design by @darashi
Workshop Design by Agile Sapporo Team.
This document is a daily journal from Sunday, January 15, 2012. It describes the author's daily activities from waking up to going to bed, including having breakfast, going for a walk, reading, and relaxing in the evening. The day is presented as generally low-key and uneventful, with simple daily routines and tasks.
quanp for iPhone appbank japan tour 2nd in sapporoMaehana Tsuyoshi
This document discusses the quanp app for iPhone. Quanp is a file storage and sharing app developed by RICOH. It allows users to upload and download various file types from computers and mobile devices to access files on the go. The document highlights key features of quanp like integration with Safari, iTunes, and the iPhone. It is emphasized that quanp is completely free to use.
The document discusses agile methodology and its use in software development. It describes key aspects of agile like iterative development, adaptive planning, self-organizing teams, and values outlined in the Agile Manifesto. Examples of agile practices are mentioned, including Scrum, eXtreme Programming (XP), test-driven development (TDD), pair programming, continuous integration (CI). The document also shares experiences from an agile project involving Ruby on Rails and iOS development.
This document appears to be a presentation about Ruby on Rails. It includes sections on Ruby and its features, Rails and its MVC architecture and conventions like DRY and REST. It demonstrates creating a scaffolding for a sample Rails application and deploying the application to Heroku. The goal is to provide an introduction and overview of Ruby and Rails for beginners.
The document discusses features of the Ruby on Rails web framework. It covers the MVC architecture pattern used in Rails, the convention over configuration principle, and emphasis on the DRY (Don't Repeat Yourself) principle of software development. Examples of popular websites built with Rails are provided. The document also discusses Rails' use of dynamic programming languages, object-relational mapping, and support for automated testing.
- Ruby can be used to develop native smartphone applications for platforms like iPhone, Android, BlackBerry and Windows Mobile using frameworks like Rhodes.
- Rhodes is a multi-platform framework that uses Ruby and allows developing native smartphone apps in a Rails-like manner with features like MVC patterns, code generation and device functions.
- Rhodes supports developing apps for iPhone/iPad, Android, BlackBerry, and Windows Mobile and its code is open source with over 50,000 downloads in 2 years.
10. Table of Contents
• Unit Tests
• Acceptance Tests
• Continuous Integration
13年1月20日日曜日
in iOS
11. iOS Development
N ote
• XCode
• iOS Developer Program
• Objective-C
13年1月20日日曜日
12. ! Use Version Control?
• Git
• Mercurial
• Bazaar
• ...etc
13年1月20日日曜日
13. Three Pillar
Version
Testing Automation
Control
13年1月20日日曜日
14. Use Version Control.
XCode Standard
• Git
• Mercurial
• Bazaar
• ...etc
13年1月20日日曜日
15. Table of Contents
• Unit Tests
• Acceptance Tests
• Continuous Integration
13年1月20日日曜日
in iOS
16. Overview
- Team Continuous Integration
Dev Mac VC& irc Linux CI Mac
git
git (bare) Jenkins
ircd XCode &
irc
Instruments
13年1月20日日曜日
17. Overview
- Team Continuous Integration
Dev Mac VC& irc Linux CI Mac
push
git
git (bare) Jenkins
ircd XCode &
irc
Instruments
13年1月20日日曜日
18. Overview
- Team Continuous Integration
Dev Mac VC& irc Linux CI Mac
hook
git
git (bare) Jenkins
ircd XCode &
irc
Instruments
13年1月20日日曜日
19. Overview
- Team Continuous Integration
Dev Mac VC& irc Linux CI Mac
git
git (bare) Jenkins
Run Tests
ircd XCode &
irc
Instruments
13年1月20日日曜日
20. Overview
- Team Continuous Integration
Dev Mac VC& irc Linux CI Mac
git
git (bare) Jenkins
Notify
ircd XCode &
irc
Instruments
13年1月20日日曜日
21. Overview
- Team Continuous Integration
Dev Mac VC& irc Linux CI Mac
git
git (bare) Jenkins
Notify
ircd XCode &
irc
Instruments
13年1月20日日曜日
22. Overview
- Team Continuous Integration
Dev Mac VC& irc Linux CI Mac
git
git (bare) Jenkins
ircd XCode &
irc
Instruments
13年1月20日日曜日
23. Overview
- Team Continuous Integration
Dev Mac VC& irc Linux CI Mac
push hook
git
git (bare) Jenkins
Notify
Notify
ircd XCode &
irc
Instruments
Run Tests
13年1月20日日曜日
24. Table of Contents
• Unit Tests
• Acceptance Tests
• Continuous Integration
13年1月20日日曜日
in iOS
25. Three Pillar
Version
Testing Automation
Control
13年1月20日日曜日
45. Other Topic
• Method Swizzling
• ex) NSDate date
• Use JRSwizzle
• https://github.com/rentzsch/jrswizzle
13年1月20日日曜日
46. Our Rule
• 1 to 1 test class to class
• No Device Access (In Mock All)
• No Really Communicate (In Mock All)
• To Succeed xcodebuild
• Wait during asynchronous test as short as
possible
• Do not write tests of getter / setter
13年1月20日日曜日
61. KIF
• KIF iOS Integration Testing
Framework
• https://github.com/square/KIF
13年1月20日日曜日
62. Three Pillar
Version
Testing Automation
Control
13年1月20日日曜日
63. Overview
- Team Continuous Integration
Dev Mac VC& irc Linux CI Mac
push
git
git (bare)
XCode &
Instruments
Run Tests
13年1月20日日曜日
64. Overview
- Team Continuous Integration
Dev Mac VC& irc Linux CI Mac
push hook
git
git (bare) Jenkins
Notify
Notify
ircd XCode &
irc
Instruments
Run Tests
13年1月20日日曜日
67. Jenkins
• Building/testing software
projects continuously
• Work with version controls
• Many Plug-in
• Easy to Install & Configure
• Run Any Scripts
13年1月20日日曜日
74. Run Acceptance Tests
APP="$(pwd)/build/Release-iphonesimulator/CLRH.app"
"/Applications/Xcode.app/Contents/Applications/
TEMPLATE=`instruments -s 2>&1 > /dev/null |sed -n
Instruments.app/Contents/PlugIns/ 's/
AutomationInstrument.bundle/Contents/Resources/
*"([^",]*/Automation.tracetemplate)",*/1/p'`
Automation.tracetemplate"
SCRIPTS="$(pwd)/AcceptanceTest/*.js"
for SCRIPT in $SCRIPTS
do
instruments -t $TEMPLATE $APP -e UIASCRIPT $SCRIPT
if [ "$?" -ne 0 ]; then
exit $?
fi
done
13年1月20日日曜日
75. Overview
- Team Continuous Integration
Dev Mac VC& irc Linux CI Mac
push hook
git
git (bare) Jenkins
Notify
Notify
ircd XCode &
irc
Instruments
Run Tests
13年1月20日日曜日
77. Eco!
#!/bin/bash
wol '[MAC ADDRESS]'
for i in {0..5} do
ping -c1 host > /dev/null
if [ $? == 0 ]; then
break
fi
sleep 1
done
wget --no-proxy -q "http://host:8080/job/Start/build?
token=[token]&delay=0"
if [ "$?" -eq 0 ]; then
echo "Jenkins build run."
else
echo "Jenkins build failed."
fi
13年1月20日日曜日
78. Overview
- Team Continuous Integration
Dev Mac VC& irc Linux CI Mac
push hook
git
git (bare) Jenkins
Notify
Notify
ircd XCode &
irc
Instruments
Run Tests
13年1月20日日曜日
79. xcrun?
xcodebuild -project ./CLRH.xcodeproj clean build
xcrun -sdk iphoneos PackageApplication -v ./build/
Release-iphoneos/CLRH.app -o "`pwd`/CLRH.ipa"
Set Valid Distribution
Identifier for Release Build.
13年1月20日日曜日
80. Continuous Delivery
• Use xcrun our case is all
done manually.
• In no constraint case, you
can use Testflight.
13年1月20日日曜日
81. Overview
- Release Continuous Delivery
Dev Mac VC Linux CI Mac
git
git (bare) Jenkins
Destination VC Linux
git XCode &
web
Instruments
browser Repository
browser
13年1月20日日曜日
82. Overview
- Release Continuous Delivery
Dev Mac VC Linux CI Mac
push polling
git
git (bare) Jenkins
push
Destination VC Linux
DL git XCode &
web
Instruments
browser Repository
browser Run Tests
13年1月20日日曜日