[TRAVIS] objectiveC naming error & git depth error

This commit is contained in:
Edouard DUPIN 2015-01-12 21:46:16 +01:00
parent 6fee7472d7
commit b3b7d90b41
2 changed files with 19 additions and 13 deletions

View File

@ -1,24 +1,26 @@
# language type: # language type:
language: language: cpp
- cpp
- Objective-c
# compilator system: # compilator system:
compiler: compiler:
- clang - clang
- gcc - gcc
# build branch requested os:
branches: - linux
only: - osx
- master
- dev osx_image: xcode61
# previous actions: # previous actions:
before_script: before_script:
- git clone --depth 0 https://github.com/HeeroYui/etk.git - rm -rf *
- git clone --depth 0 https://github.com/HeeroYui/build.git - git clone https://github.com/HeeroYui/ewol.git
- git clone --depth 0 https://github.com/HeeroYui/gtest.git - cd ewol; git checkout origin/dev -b dev; cd ..
- cd ewol; git submodule init; cd ..
- cd ewol; git submodule update; cd ..
- cd ewol; git submodule foreach git checkout master; cd ..
- cd ewol; git submodule foreach git pull; cd ..
#install Gcc to have lisstdc++ 4.8 & gcc 4.8 #install Gcc to have lisstdc++ 4.8 & gcc 4.8
install: install:
@ -31,8 +33,8 @@ install:
# build sequence with Lutin : # build sequence with Lutin :
script: script:
- if [ "$CXX" == "clang++" ]; then ./build/lutin.py -C -P -cclang -mdebug -p ejson_test; fi - if [ "$CXX" == "clang++" ]; then ./ewol/build/lutin.py -C -P -cclang -mdebug -p ejson_test; fi
- if [ "$CXX" == "g++" ]; then ./build/lutin.py -C -P -cgcc -mdebug -p ejson_test; fi - if [ "$CXX" == "g++" ]; then ./ewol/build/lutin.py -C -P -cgcc -mdebug -p ejson_test; fi
after_script: after_script:
- if [ "$CXX" == "clang++" ]; then ./out/Linux_x86_64/debug/staging/clang/ejson_test/usr/bin/ejson_test; fi - if [ "$CXX" == "clang++" ]; then ./out/Linux_x86_64/debug/staging/clang/ejson_test/usr/bin/ejson_test; fi
@ -42,3 +44,5 @@ after_script:
notifications: notifications:
email: email:
- yui.heero@gmail.com - yui.heero@gmail.com

View File

@ -1,3 +1,5 @@
[![Build Status](https://travis-ci.org/HeeroYui/ejson.svg?branch=master)](https://travis-ci.org/HeeroYui/ejson)
ejson ejson
===== =====