c1a1e844bb
- Added kll file emitter * Re-constitutes KLL files from various stages of the compilation process - Using kll file emitter added a basic assignment expression unit test * Added unit test to travis - Fixed array assignment merging when using position operators * Required a special case merge - Update output templates for kiibohd
64 rader
938 B
YAML
64 rader
938 B
YAML
# travis-ci integration for the kll compiler
|
|
|
|
sudo:
|
|
- false
|
|
|
|
os:
|
|
- linux
|
|
# Python osx builds are not yet supported by Travis
|
|
#- osx
|
|
|
|
language:
|
|
- python
|
|
|
|
python:
|
|
- "3.2"
|
|
- "3.3"
|
|
- "3.4"
|
|
- "3.5"
|
|
- "3.5-dev"
|
|
- "nightly"
|
|
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- tree
|
|
|
|
# Package Setup
|
|
before_install:
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install tree; fi
|
|
|
|
# Test Scripts
|
|
env:
|
|
# Basic KLL Tests
|
|
- DIR=tests SCRIPT=sanity.bash
|
|
- DIR=tests SCRIPT=syntax.bash
|
|
- DIR=tests SCRIPT=assignment.bash
|
|
|
|
# Exclusions
|
|
matrix:
|
|
allow_failures:
|
|
- python: "3.5-dev"
|
|
- python: "nightly"
|
|
|
|
# System setup
|
|
install:
|
|
# Info about OS
|
|
- uname -a
|
|
|
|
# Directory tree to validate kll.git
|
|
- tree
|
|
|
|
# Python Version
|
|
- python3 --version
|
|
|
|
# Run test script(s)
|
|
script:
|
|
- (cd ${DIR} && ./${SCRIPT})
|
|
|
|
# Post test script commands
|
|
after_script:
|
|
- tree
|
|
|