mirror of
https://github.com/RPCSX/xed.git
synced 2026-01-31 01:05:17 +01:00
Merge pull request #5 from rscohn2/feature/32bit
travis-ci for 32/64 x linux/osx x clang/gcc
This commit is contained in:
25
.travis.yml
Normal file
25
.travis.yml
Normal file
@@ -0,0 +1,25 @@
|
||||
language: c
|
||||
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
# 32 bit support
|
||||
- gcc-multilib
|
||||
|
||||
os:
|
||||
- linux
|
||||
- osx
|
||||
|
||||
# test gcc and clang
|
||||
compiler:
|
||||
- gcc
|
||||
- clang
|
||||
|
||||
env:
|
||||
- host_cpu=ia32
|
||||
- host_cpu=x86-64
|
||||
|
||||
script:
|
||||
- pip install --user https://github.com/intelxed/mbuild/zipball/master
|
||||
- mkdir build
|
||||
- cd build && ../mfile.py host_cpu=$host_cpu test
|
||||
@@ -22,8 +22,11 @@ import os
|
||||
import sys
|
||||
import subprocess
|
||||
import find_dir
|
||||
sys.path.append(find_dir.find_dir('mbuild'))
|
||||
import mbuild
|
||||
try:
|
||||
import mbuild
|
||||
except:
|
||||
sys.path.append(find_dir.find_dir('mbuild'))
|
||||
import mbuild
|
||||
|
||||
def _warn(s):
|
||||
sys.stderr.write("ERROR:" + s + "\n")
|
||||
|
||||
@@ -25,8 +25,11 @@ import textwrap
|
||||
import find_dir
|
||||
import math
|
||||
|
||||
sys.path.append(find_dir.find_dir('mbuild'))
|
||||
import mbuild
|
||||
try:
|
||||
import mbuild
|
||||
except:
|
||||
sys.path.append(find_dir.find_dir('mbuild'))
|
||||
import mbuild
|
||||
|
||||
def graph_it(lst):
|
||||
import numpy as np
|
||||
|
||||
Reference in New Issue
Block a user