Skip to content
This repository was archived by the owner on Dec 19, 2020. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
os:
- linux
- osx

language: python
python:
- '3.5'

script: ./t/regress.sh
5 changes: 2 additions & 3 deletions t/regress.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/usr/bin/env bash

. $(dirname $0)/regress_util.sh

## List of tests to ignore
test_ignore_list=( test_fail )
ignore_test () {
Expand All @@ -11,9 +13,6 @@ ignore_test () {
fi
}

test_root=$(dirname $(readlink -f $0))
wit_root=$(readlink -f $test_root/..)

export PATH=$wit_root:${PATH}

timestamp=`date +'%Y-%m-%dT%H-%M-%S'`
Expand Down
4 changes: 2 additions & 2 deletions t/regress_util.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/sh

test_root=$(dirname $(perl -MCwd -M5.14.0 -e "say Cwd::realpath('$0')"))
wit_root=$(perl -MCwd -M5.14.0 -e "say Cwd::realpath('$test_root/..')")
wit_repo='git@github.com:sifive/wit'
test_root=$(dirname $(readlink -f $0))
wit_root=$(readlink -f $test_root/..)

export PATH=$wit_root:${PATH}

Expand Down