Commit 52a364d7699230be5e883f32b9ac0caaea0300b1

Anthony Green 2018-03-13T22:49:48

fix moxie build

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff --git a/.travis.yml b/.travis.yml
index 1355922..5e30203 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -17,7 +17,7 @@ matrix:
       compiler: gcc
       env: HOST=i386-pc-linux-gnu
     - os: linux
-      env: HOST=moxie-elf
+      env: HOST=moxie-elf PATH=/opt/moxielogic/bin:$PATH
 
 install:
   - ./.travis/install.sh
@@ -29,6 +29,5 @@ script:
   - ./configure ${HOST+--host=$HOST} ${CONFIGURE_OPTIONS}
   - make
   - make dist
-  - echo "$TRAVIS_BUILD_DIR"/.travis
-  - DEJAGNU="$TRAVIS_BUILD_DIR"/.travis make check
+  - ${DEJAGNU+DEJAGNU="$TRAVIS_BUILD_DIR"/.travis} make check
   - cat */testsuite/libffi.log