simplified can-relax-edge? fn
added Travis CI