Skip to content

Commit

Permalink
Merge pull request grpc#1 from nicolasnoble/fix_gcc_4_4
Browse files Browse the repository at this point in the history
Adding a simple 'buildonly' test.
  • Loading branch information
vjpai committed Mar 26, 2015
2 parents f865a6b + fd2b093 commit 4f1350a
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,12 @@ env:
- CONFIG=opt TEST=python
- CONFIG=gcov TEST=c
- CONFIG=gcov TEST=c++
- USE_GCC=4.4 CONFIG=opt TEST=build
- USE_GCC=4.5 CONFIG=opt TEST=build
script:
- rvm use $RUBY_VERSION
- gem install bundler
- if [ ! -z "$USE_GCC" ] ; then export CC=gcc-$USE_GCC ; export CXX=g++-$USE_GCC ; fi
- ./tools/run_tests/run_tests.py -l $TEST -t -j 16 -c $CONFIG -s 4.0
after_success:
- if [ "$CONFIG" = "gcov" ] ; then coveralls --exclude third_party --exclude gens -b. --gcov-options '\-p' ; fi
Expand Down
21 changes: 20 additions & 1 deletion tools/run_tests/run_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,24 @@ def supports_multi_config(self):
def __str__(self):
return 'csharp'

class Build(object):

def test_specs(self, config, travis):
return []

def make_targets(self):
return ['all']

def build_steps(self):
return []

def supports_multi_config(self):
return True

def __str__(self):
return self.make_target


# different configurations we can run under
_CONFIGS = {
'dbg': SimpleConfig('dbg'),
Expand All @@ -248,7 +266,8 @@ def __str__(self):
'php': PhpLanguage(),
'python': PythonLanguage(),
'ruby': RubyLanguage(),
'csharp': CSharpLanguage()
'csharp': CSharpLanguage(),
'build': Build(),
}

# parse command line
Expand Down

0 comments on commit 4f1350a

Please sign in to comment.