diff --git a/julia/.travis.yml b/julia/.travis.yml deleted file mode 100644 index 680df7af481e..000000000000 --- a/julia/.travis.yml +++ /dev/null @@ -1,59 +0,0 @@ -# Documentation: http://docs.travis-ci.com/user/languages/julia/ -sudo: false - -language: julia - -os: - - linux - - osx -osx_image: xcode8 - -julia: - - 0.6 -# - nightly 0.6 supports depends on #170 - -branches: - only: - - master - - stable - - /^v\d+\.\d+(\.\d+)?(-\S*)?$/ # for tagging - -cache: - directories: - - $TRAVIS_BUILD_DIR/deps/src - -# dependent apt packages -addons: - apt: - sources: - - ubuntu-toolchain-r-test - packages: - - doxygen - - wget - - git - - libcurl4-openssl-dev - - unzip - - libatlas-base-dev - - libatlas-dev - - libopencv-dev - - gcc-4.8 - - g++-4.8 - -before_install: - - export TRAVIS_DIR=test/travis - - source ${TRAVIS_DIR}/setup_env.sh - -notifications: - email: false - -script: - - ${TRAVIS_DIR}/run_test.sh - -after_success: - # See https://github.com/dmlc/MXNet.jl/pull/303#issuecomment-341171774 - - julia -e 'using MXNet; mx._sig_checker()' - - - source ${TRAVIS_DIR}/run_coverage.sh - - echo $TRAVIS_JULIA_VERSION - - julia -e 'Pkg.add("Documenter")' - - julia -e 'cd(Pkg.dir("MXNet")); include(joinpath("docs", "make.jl"))' diff --git a/julia/test/travis/run_coverage.sh b/julia/test/travis/run_coverage.sh deleted file mode 100644 index ee22b258b549..000000000000 --- a/julia/test/travis/run_coverage.sh +++ /dev/null @@ -1,18 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you 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. - -julia -e 'cd(Pkg.dir("MXNet")); Pkg.add("Coverage"); using Coverage; Codecov.submit(process_folder())' diff --git a/julia/test/travis/run_test.sh b/julia/test/travis/run_test.sh deleted file mode 100755 index 414b1450b554..000000000000 --- a/julia/test/travis/run_test.sh +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/bash - -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you 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. - -set -e - -if [[ -a .git/shallow ]]; then git fetch --unshallow; fi -julia -e 'Pkg.clone(pwd())' -( - cd `julia -e 'println(Pkg.dir("MXNet", "deps"))'` && - ln -fs $TRAVIS_BUILD_DIR/deps/src -) -julia -e 'Pkg.build("MXNet"); Pkg.test("MXNet"; coverage=true)' diff --git a/julia/test/travis/setup_env.sh b/julia/test/travis/setup_env.sh deleted file mode 100755 index 9d2f7341998d..000000000000 --- a/julia/test/travis/setup_env.sh +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/bash - -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you 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. - - -echo "##########################" -echo $TRAVIS_OS_NAME - -if [ ${TRAVIS_OS_NAME} == "osx" ]; then - brew update >/dev/null 2>&1 - brew tap homebrew/science - brew info opencv - brew install graphviz - brew install opencv -fi - -if [ ${TRAVIS_OS_NAME} == "linux" ]; then - mkdir shadow_bin - ln -s `which gcc-4.8` shadow_bin/gcc - ln -s `which g++-4.8` shadow_bin/g++ - - export PATH=$PWD/shadow_bin:$PATH -fi