Created
January 30, 2017 07:40
-
-
Save srz-zumix/1e543abb7e45dd62b186ef9acbd37b45 to your computer and use it in GitHub Desktop.
iutesst wercker.yml sample
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This references the default Python container from | |
# the Docker Hub with the 2.7 tag: | |
# https://registry.hub.docker.com/_/python/ | |
# If you want to use a slim Python container with | |
# version 3.4.3 you would use: python:3.4-slim | |
# If you want Google's container you would reference google/python | |
# Read more about containers on our dev center | |
# http://devcenter.wercker.com/docs/containers/index.html | |
box: python:2.7 | |
# You can also use services such as databases. Read more on our dev center: | |
# http://devcenter.wercker.com/docs/services/index.html | |
# services: | |
# - postgres | |
# http://devcenter.wercker.com/docs/services/postgresql.html | |
# - mongo | |
# http://devcenter.wercker.com/docs/services/mongodb.html | |
# This is the build pipeline. Pipelines are the core of wercker | |
# Read more about pipelines on our dev center | |
# http://devcenter.wercker.com/docs/pipelines/index.html | |
build: | |
# The steps that will be executed on build | |
# Steps make up the actions in your pipeline | |
# Read more about steps on our dev center: | |
# http://devcenter.wercker.com/docs/steps/index.html | |
steps: | |
# A step that sets up the python virtual environment | |
- virtualenv: | |
name: setup virtual environment | |
install_wheel: false # Enable wheel to speed up builds (experimental) | |
# # Use this virtualenv step for python 3.2 | |
# - virtualenv | |
# name: setup virtual environment | |
# python_location: /usr/bin/python3.2 | |
# A step that executes `pip install` command. | |
- pip-install: | |
requirements_file: "" | |
packages_list: "requests" | |
# # This pip-install clears the local wheel cache | |
# - pip-install: | |
# clean_wheel_dir: true | |
# A custom script step, name value is used in the UI | |
# and the code value contains the command that get executed | |
- script: | |
name: echo python information | |
code: | | |
echo "python version $(python --version) running" | |
echo "pip version $(pip --version) running" | |
- script: | |
name: listup compiler | |
code: | | |
cd tools/wandbox | |
python iuwandbox.py --list_compiler --verbose | |
wandbox: | |
steps: | |
- virtualenv: | |
name: setup virtual environment | |
install_wheel: false # Enable wheel to speed up builds (experimental) | |
- pip-install: | |
requirements_file: "" | |
packages_list: "requests" | |
- script: | |
name: make fused | |
code: | | |
make -C tools/fused | |
- script: | |
name: setup | |
code: | | |
export PYTHONDONTWRITEBYTECODE=1 | |
export IUWANDBOX_COMMANDLINE_OPTION="../../test/syntax_tests.cpp -f"-DIUTEST_USE_MAIN=1" -f"-Werror" --encoding utf-8-sig --expand_include --verbose --check_config" | |
- script: | |
name: c++ | |
code: | | |
cd tools/wandbox | |
python ./iuwandbox.py ${IUWANDBOX_COMMANDLINE_OPTION} -c ${IUWANDBOX_COMPILER} --std "c++${IUWANDBOX_CPPVER}" ${IUWANDBOX_ADD_OPTION} ${IUWANDBOX_STDC_ADD_OPTION} | |
- script: | |
name: gnuc++ | |
code: | | |
cd tools/wandbox | |
python ./iuwandbox.py ${IUWANDBOX_COMMANDLINE_OPTION} -c ${IUWANDBOX_COMPILER} --std "gnu++${IUWANDBOX_CPPVER}" ${IUWANDBOX_ADD_OPTION} ${IUWANDBOX_GNUC_ADD_OPTION} | |
nothing: | |
steps: | |
- script: | |
name: echo | |
code: echo "nothing to do" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment