update tox
git@1019d4e005ea20c6e1a9bff9e417ac4ce3d6c527
https://github.com/srz-zumix/iutest/commit/1019d4e005ea20c6e1a9bff9e417ac4ce3d6c527
update tox.ini
git@c276b38b6a88c144f8e174bb72189aebd8327838
add codefresh.yml
git@5626317f0e52eed709ae55293e01409547f2bed7
@@ -11,7 +11,6 @@ | ||
11 | 11 | [![Codefresh build status]( https://g.codefresh.io/api/badges/build?repoOwner=srz-zumix&repoName=iutest&branch=master&pipelineName=iutest&accountName=srz-zumix&type=cf-1)]( https://g.codefresh.io/repositories/srz-zumix/iutest/builds?filter=trigger:build;branch:master;service:58a933be9d1bd40100495882~iutest) |
12 | 12 | [![Build Status](https://www.bitrise.io/app/a1525fe176d85f53.svg?token=C67enKOhen9rjw_Cl37ihA&branch=master)](https://www.bitrise.io/app/a1525fe176d85f53) |
13 | 13 | [![Circle CI](https://circleci.com/gh/srz-zumix/iutest.svg?style=svg)](https://circleci.com/gh/srz-zumix/iutest) |
14 | -[![Magnum CI](https://magnum-ci.com/status/9175310cbf4594b8755634347186515a.png)](https://magnum-ci.com/public/ad50f16d4e6b5c8a578a/builds) | |
15 | 14 | [![New(3-clause) BSD License](https://img.shields.io/badge/license-New_BSD-blue.svg)](http://opensource.org/licenses/BSD-3-Clause) |
16 | 15 | [![NuGet version](https://badge.fury.io/nu/iutest.svg)](https://badge.fury.io/nu/iutest) |
17 | 16 |
@@ -108,10 +107,9 @@ | ||
108 | 107 | |[![Shippable Build Status](https://api.shippable.com/projects/541904d2ac22859af743f867/badge?branchName=master)](https://app.shippable.com/projects/541904d2ac22859af743f867/builds/latest)|Syntax tests for compiler each version (c++98)| |
109 | 108 | |[![Codeship Status for srz-zumix/iutest](https://codeship.com/projects/5bc87030-5b41-0133-6000-4242aa07dce3/status?branch=master)](https://codeship.com/projects/110695)|Cpplint, Update documents| |
110 | 109 | |[![Semaphore Build Status](https://semaphoreci.com/api/v1/srz_zumix/iutest/branches/master/badge.svg)](https://semaphoreci.com/srz_zumix/iutest)|Scan-build| |
111 | -|[![Codefresh build status]( https://g.codefresh.io/api/badges/build?repoOwner=srz-zumix&repoName=iutest&branch=master&pipelineName=iutest&accountName=srz-zumix&type=cf-1)]( https://g.codefresh.io/repositories/srz-zumix/iutest/builds?filter=trigger:build;branch:master;service:58a933be9d1bd40100495882~iutest)|Google Test/Google Mock compatibility| | |
110 | +|[![Codefresh build status]( https://g.codefresh.io/api/badges/build?repoOwner=srz-zumix&repoName=iutest&branch=master&pipelineName=iutest&accountName=srz-zumix&type=cf-1)]( https://g.codefresh.io/repositories/srz-zumix/iutest/builds?filter=trigger:build;branch:master;service:58a933be9d1bd40100495882~iutest)|Google Test/Google Mock compatibility, Google Native Client| | |
112 | 111 | |[![Build Status](https://www.bitrise.io/app/a1525fe176d85f53.svg?token=C67enKOhen9rjw_Cl37ihA&branch=master)](https://www.bitrise.io/app/a1525fe176d85f53)|iOS| |
113 | 112 | |[![Circle CI](https://circleci.com/gh/srz-zumix/iutest.svg?style=svg)](https://circleci.com/gh/srz-zumix/iutest)|Optimize options test| |
114 | -|[![Magnum CI](https://magnum-ci.com/status/9175310cbf4594b8755634347186515a.png)](https://magnum-ci.com/public/ad50f16d4e6b5c8a578a/builds)|Google Native Client| | |
115 | 113 | |
116 | 114 | License |
117 | 115 | -------------------------------------------------- |
@@ -0,0 +1,37 @@ | ||
1 | +version: '1.0' | |
2 | +steps: | |
3 | + BuildingDockerImage: | |
4 | + title: Building Docker Image | |
5 | + type: build | |
6 | + image_name: srzzumix/iutest | |
7 | + dockerfile: tools/docker/codefresh/Dockerfile | |
8 | + | |
9 | + RunningUnitTests: | |
10 | + title: Running Unit Tests | |
11 | + image: '${{BuildingDockerImage}}' | |
12 | + working_directory: IMAGE_WORK_DIR | |
13 | + entry_point: | |
14 | + - /bin/sh | |
15 | + - /codefresh/volume/cf-generated/unit_test_script | |
16 | + create_file: | |
17 | + path: /codefresh/volume/cf-generated | |
18 | + name: unit_test_script | |
19 | + content: |- | |
20 | + g++ --version | |
21 | + cd test | |
22 | + make USE_GTEST=y test | |
23 | + make clean | |
24 | + make USE_GMOCK=y test | |
25 | + export NACL_SDK_ROOT="$(find /usr/local/nacl_sdk -maxdepth 1 -type d -name 'pepper_*')" | |
26 | + cd ../projects/nacl | |
27 | + make | |
28 | + on_success: | |
29 | + metadata: | |
30 | + set: | |
31 | + - '${{BuildingDockerImage.imageId}}': | |
32 | + - CF_QUALITY: true | |
33 | + on_fail: | |
34 | + metadata: | |
35 | + set: | |
36 | + - '${{BuildingDockerImage.imageId}}': | |
37 | + - CF_QUALITY: false |
@@ -1,11 +0,0 @@ | ||
1 | -[tox] | |
2 | -envlist = py27, py36 | |
3 | - | |
4 | -[testenv] | |
5 | -changedir=tests | |
6 | -deps=unittest2 | |
7 | -commands=unit2 discover [] | |
8 | - | |
9 | -[flake8] | |
10 | -ignore = E265 | |
11 | -max-line-length = 100 |
@@ -1,23 +0,0 @@ | ||
1 | -import os | |
2 | -from setuptools import setup | |
3 | -from setuptools import find_packages | |
4 | - | |
5 | -#f = open(os.path.join(os.path.dirname(__file__), 'README.md')) | |
6 | -#readme = f.read() | |
7 | -#f.close() | |
8 | - | |
9 | -VERSION = "5.3" | |
10 | - | |
11 | -setup( | |
12 | - name = "iuwandbox" | |
13 | - , version = VERSION | |
14 | - , author = "Takazumi Shirayanagi" | |
15 | - , author_email = "zumix.cpp@gmail.com" | |
16 | - , url = "https://github.com/srz-zumix/iutest" | |
17 | - , description = "iutest run on wandbox tool." | |
18 | - , license = "BSD" | |
19 | - , platforms = ["any"] | |
20 | - , keywords = "iutest, Wandbox" | |
21 | - , packages = find_packages() | |
22 | - , install_requires=['requests'] | |
23 | -) |
@@ -1,6 +1,14 @@ | ||
1 | 1 | [tox] |
2 | +envlist = py27, py36 | |
2 | 3 | skipsdist=True |
3 | 4 | |
5 | +[testenv] | |
6 | +deps= | |
7 | + unittest2 | |
8 | + requests | |
9 | +commands= | |
10 | + unit2 discover tools/wandbox | |
11 | + | |
4 | 12 | [flake8] |
5 | 13 | ignore = E265 |
6 | 14 | max-line-length = 100 |