Trying to fix Travis build

This commit is contained in:
Alexey Andreev 2018-11-22 15:40:32 +03:00
parent 001e6168e3
commit cd7a702c31
3 changed files with 2 additions and 27 deletions

View File

@ -15,6 +15,7 @@
<option value="-Dteavm.build.all=false" /> <option value="-Dteavm.build.all=false" />
<option value="-Pwith-cli" /> <option value="-Pwith-cli" />
<option value="-Dmaven.javadoc.skip=true" /> <option value="-Dmaven.javadoc.skip=true" />
<option value="-Dmaven.source.skip=true" />
</list> </list>
</option> </option>
<option name="pomFileName" /> <option name="pomFileName" />

View File

@ -35,7 +35,6 @@ before_install:
- rm -rf $HOME/.m2 - rm -rf $HOME/.m2
install: install:
- $MVN_CMD install -Dteavm.build.all=false -P with-idea -P with-cli -DskipTests=true -Dmaven.javadoc.skip=true -V
- pushd tests/src/test/js - pushd tests/src/test/js
- npm config set prefix=$HOME/.node_modules - npm config set prefix=$HOME/.node_modules
- npm install - npm install
@ -44,7 +43,7 @@ install:
- rm -rf tools/idea/idea-artifacts/dependencies - rm -rf tools/idea/idea-artifacts/dependencies
script: script:
- $MVN_CMD -e test -Dteavm.junit.optimized=false -Dteavm.junit.js.runner=none - $MVN_CMD -e install -Dteavm.junit.optimized=false -P with-idea -P with-cli -Dteavm.junit.js.runner=none -V
- BASE_PATH=`pwd` - BASE_PATH=`pwd`
- pushd tests/src/test/js - pushd tests/src/test/js
- "export DISPLAY=:99.0" - "export DISPLAY=:99.0"

View File

@ -1,25 +0,0 @@
/*
* Copyright 2013 Alexey Andreev.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* Represents a class model that is alternative to {@code java.lang.reflection} package.
* Model is suitable for representing classes that are not in class path. Also
* it allows to disassemble method bodies into three-address code that is very
* close to JVM bytecode (see {@code org.teavm.model.instructions}.
*
* <p>The entry point is some implementation of {@link org.teavm.model.ClassHolderSource} interface.
*
*/
package org.teavm.model;