Skip to content

Instantly share code, notes, and snippets.

@shyouhei
Last active December 28, 2015 13:28
Show Gist options
  • Save shyouhei/7507489 to your computer and use it in GitHub Desktop.
Save shyouhei/7507489 to your computer and use it in GitHub Desktop.
sample output of git-strata
c36ee7b -> 4259d23 (shyouhei 2012-08-21 08:10:37 +0000) # Copyright (C) 2011 Urabe, Shyouhei. All rights reserved.
c36ee7b -> 4259d23 (shyouhei 2012-08-21 08:10:37 +0000) #
c36ee7b -> 4259d23 (shyouhei 2012-08-21 08:10:37 +0000) # This file is a part of the programming language Ruby. Permission is hereby
c36ee7b -> 4259d23 (shyouhei 2012-08-21 08:10:37 +0000) # granted, to either redistribute or modify this file, provided that the
c36ee7b -> 4259d23 (shyouhei 2012-08-21 08:10:37 +0000) # conditions mentioned in the file COPYING are met. Consult the file for
c36ee7b -> 4259d23 (shyouhei 2012-08-21 08:10:37 +0000) # details.
c36ee7b -> 5606f11 -> 4746358 -> 51a929c (shyouhei 2012-05-21 03:45:52 +0000)
c36ee7b -> 5606f11 -> 4746358 -> 51a929c -> 4259d23 (shyouhei 2012-08-21 08:10:37 +0000) # This is a Travis-CI build configuration file. The list of configurations
c36ee7b -> 5606f11 -> 4746358 -> 51a929c -> 4259d23 (shyouhei 2012-08-21 08:10:37 +0000) # available is located in
c36ee7b -> 5606f11 -> 4746358 -> 51a929c -> 4259d23 (shyouhei 2012-08-21 08:10:37 +0000) #
c36ee7b -> 5606f11 -> 4746358 -> 51a929c -> 4259d23 (shyouhei 2012-08-21 08:10:37 +0000) # http://about.travis-ci.org/docs/user/build-configuration/
c36ee7b -> 5606f11 -> 4746358 -> 51a929c -> 4259d23 (shyouhei 2012-08-21 08:10:37 +0000) #
c36ee7b -> 5606f11 -> 4746358 -> 51a929c -> 4259d23 (shyouhei 2012-08-21 08:10:37 +0000) # and as Ruby itself is a project written in C language,
c36ee7b -> 5606f11 -> 4746358 -> 51a929c -> 4259d23 (shyouhei 2012-08-21 08:10:37 +0000) #
c36ee7b -> 5606f11 -> 4746358 -> 51a929c -> 4259d23 (shyouhei 2012-08-21 08:10:37 +0000) # http://about.travis-ci.org/docs/user/languages/c/
c36ee7b -> 5606f11 -> 4746358 -> 51a929c -> 4259d23 (shyouhei 2012-08-21 08:10:37 +0000) #
c36ee7b -> 5606f11 -> 4746358 -> 51a929c -> 4259d23 (shyouhei 2012-08-21 08:10:37 +0000) # is also a good place to look at.
c36ee7b (shyouhei 2011-11-26 06:26:44 +0000)
c36ee7b -> 4259d23 (shyouhei 2012-08-21 08:10:37 +0000) # Language specification.
c36ee7b -> 4259d23 (shyouhei 2012-08-21 08:10:37 +0000) language: c
c36ee7b -> 4259d23 (shyouhei 2012-08-21 08:10:37 +0000)
c36ee7b -> 4259d23 (shyouhei 2012-08-21 08:10:37 +0000) # Compilers. Several compilers are provided in Travis, so we try them all.
c36ee7b -> 4259d23 (shyouhei 2012-08-21 08:10:37 +0000) # The value set here is visible via $CC environment variable.
c36ee7b -> 4259d23 (shyouhei 2012-08-21 08:10:37 +0000) compiler:
c36ee7b -> 4259d23 (shyouhei 2012-08-21 08:10:37 +0000) - gcc
c36ee7b -> 4259d23 -> 717c5f9 -> bf386e5 (naruse 2013-06-03 14:46:45 +0000) - clang
c36ee7b -> 4259d23 (shyouhei 2012-08-21 08:10:37 +0000)
c36ee7b -> 4259d23 (shyouhei 2012-08-21 08:10:37 +0000) # Dependencies. Some header files are missing in a Travis' worker VM, so we
c36ee7b -> 4259d23 (shyouhei 2012-08-21 08:10:37 +0000) # have to install them. The "1.9.1" here is OK. It is the most adopted
c36ee7b -> 4259d23 (shyouhei 2012-08-21 08:10:37 +0000) # version string for Debian/Ubuntu, and no dependencies have been changed so
c36ee7b -> 4259d23 (shyouhei 2012-08-21 08:10:37 +0000) # far since the 1.9.1 release.
c36ee7b -> 4259d23 (shyouhei 2012-08-21 08:10:37 +0000) before_install:
c36ee7b -> 4259d23 (shyouhei 2012-08-21 08:10:37 +0000) - "sudo apt-get -qq update"
c36ee7b -> 4259d23 (shyouhei 2012-08-21 08:10:37 +0000) - "sudo apt-get -qq install $CC" # upgrade if any
c36ee7b -> 4259d23 (shyouhei 2012-08-21 08:10:37 +0000) install: "sudo apt-get -qq build-dep ruby1.9.1 2>/dev/null"
c36ee7b -> 4259d23 (shyouhei 2012-08-21 08:10:37 +0000)
c36ee7b -> 4259d23 (shyouhei 2012-08-21 08:10:37 +0000) # Script is where the test runs. Note we just do "make test", not other tests
c36ee7b -> 4259d23 (shyouhei 2012-08-21 08:10:37 +0000) # like test-all, test-rubyspec. This is because they take too much time,
c36ee7b -> 4259d23 (shyouhei 2012-08-21 08:10:37 +0000) # enough for Travis to shut down the VM as being stalled.
c36ee7b -> 4259d23 (shyouhei 2012-08-21 08:10:37 +0000) before_script:
c36ee7b -> 4259d23 -> a53cb1a (nobu 2013-06-14 04:40:32 +0000) - "make -f common.mk BASERUBY=ruby srcdir=. update-config_files"
c36ee7b -> 4259d23 (shyouhei 2012-08-21 08:10:37 +0000) - "autoconf"
c36ee7b -> 4259d23 -> 5dd1e83 (nobu 2013-08-18 23:31:26 +0000) - "mkdir config_1st config_2nd"
c36ee7b -> 4259d23 -> 5dd1e83 (nobu 2013-08-18 23:31:26 +0000) - "./configure -C --with-gcc=$CC"
c36ee7b -> 4259d23 -> 5dd1e83 -> 69cb8a7 (nobu 2013-08-18 23:37:30 +0000) - "cp -pr config.status .ext/include config_1st"
c36ee7b -> 4259d23 -> 5dd1e83 (nobu 2013-08-18 23:31:26 +0000) - "make reconfig"
c36ee7b -> 4259d23 -> 5dd1e83 (nobu 2013-08-18 23:31:26 +0000) - "cp -pr config.status .ext/include config_2nd"
c36ee7b -> 4259d23 -> 5dd1e83 -> e130ef2 (nobu 2013-08-18 23:41:41 +0000) - "diff -ru config_1st config_2nd"
c36ee7b -> 4259d23 -> 22a173d -> c7ca25a -> 1f29aca (nobu 2012-09-03 12:08:55 +0000) - "make -sj encs"
c36ee7b -> 4259d23 -> 22a173d -> c7ca25a -> 1f29aca (nobu 2012-09-03 12:08:55 +0000) - "make -sj exts"
c36ee7b -> 4259d23 -> 583ae60 -> ea005c4 -> b999f95 -> 08a6ef7 (naruse 2013-04-18 13:55:45 +0000) script:
c36ee7b -> 4259d23 -> 583ae60 -> ea005c4 -> b999f95 -> 08a6ef7 (naruse 2013-04-18 13:55:45 +0000) - "make test OPTS=-v"
c36ee7b -> 4259d23 -> 583ae60 -> ea005c4 -> b999f95 -> 08a6ef7 -> 46d19a3 -> bf386e5 (naruse 2013-06-03 14:46:45 +0000) # - "make test-all TESTS='-v'"
c36ee7b -> 4259d23 (shyouhei 2012-08-21 08:10:37 +0000)
c36ee7b -> 4259d23 (shyouhei 2012-08-21 08:10:37 +0000) # Branch matrix. Not all branches are Travis-ready so we limit branches here.
c36ee7b -> 08a6ef7 -> 46d19a3 (naruse 2013-04-18 18:04:11 +0000) branches:
c36ee7b -> 08a6ef7 -> 46d19a3 (naruse 2013-04-18 18:04:11 +0000) only:
c36ee7b -> 08a6ef7 -> 46d19a3 (naruse 2013-04-18 18:04:11 +0000) - trunk
c36ee7b -> 08a6ef7 -> 46d19a3 (naruse 2013-04-18 18:04:11 +0000) - ruby_1_9_3
bb9ffac (shyouhei 2012-08-03 07:41:18 +0000)
bb9ffac -> 4259d23 (shyouhei 2012-08-21 08:10:37 +0000) # We want to be notified when something happens.
bb9ffac -> 08a6ef7 -> 46d19a3 (naruse 2013-04-18 18:04:11 +0000) notifications:
bb9ffac -> 08a6ef7 -> 46d19a3 (naruse 2013-04-18 18:04:11 +0000) irc:
bb9ffac -> 08a6ef7 -> 46d19a3 (naruse 2013-04-18 18:04:11 +0000) channels:
bb9ffac -> 08a6ef7 -> 46d19a3 (naruse 2013-04-18 18:04:11 +0000) - "irc.freenode.org#ruby-core"
bb9ffac -> 08a6ef7 -> 46d19a3 (naruse 2013-04-18 18:04:11 +0000) - "irc.freenode.org#ruby-ja"
bb9ffac -> 08a6ef7 -> 46d19a3 (naruse 2013-04-18 18:04:11 +0000) on_success: change # [always|never|change] # default: always
bb9ffac -> 08a6ef7 -> 46d19a3 (naruse 2013-04-18 18:04:11 +0000) on_failure: change # [always|never|change] # default: always
bb9ffac -> 08a6ef7 -> 46d19a3 (naruse 2013-04-18 18:04:11 +0000) template:
bb9ffac -> 08a6ef7 -> 46d19a3 (naruse 2013-04-18 18:04:11 +0000) - "%{message} by @%{author}: See %{build_url}"
4259d23 (shyouhei 2012-08-21 08:10:37 +0000)
4259d23 -> 9410e7e (drbrain 2013-10-07 20:41:59 +0000) # Update ruby-head installed on Travis CI so other projects can test against it.
4259d23 -> 9410e7e (drbrain 2013-10-07 20:41:59 +0000) webhooks:
4259d23 -> 9410e7e (drbrain 2013-10-07 20:41:59 +0000) urls:
4259d23 -> 9410e7e (drbrain 2013-10-07 20:41:59 +0000) - "https://rubies.travis-ci.org/rebuild/ruby-head"
4259d23 -> 9410e7e (drbrain 2013-10-07 20:41:59 +0000) on_success: always
4259d23 -> 9410e7e (drbrain 2013-10-07 20:41:59 +0000) on_failure: never
4259d23 -> 9410e7e (drbrain 2013-10-07 20:41:59 +0000)
4259d23 (shyouhei 2012-08-21 08:10:37 +0000) # Local Variables:
4259d23 (shyouhei 2012-08-21 08:10:37 +0000) # mode: YAML
4259d23 (shyouhei 2012-08-21 08:10:37 +0000) # coding: utf-8-unix
4259d23 (shyouhei 2012-08-21 08:10:37 +0000) # indent-tabs-mode: nil
4259d23 (shyouhei 2012-08-21 08:10:37 +0000) # tab-width: 4
4259d23 (shyouhei 2012-08-21 08:10:37 +0000) # fill-column: 79
4259d23 (shyouhei 2012-08-21 08:10:37 +0000) # default-justification: full
4259d23 (shyouhei 2012-08-21 08:10:37 +0000) # End:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment