forked from weld-project/weld
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
34 lines (34 loc) · 1.6 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
language: rust
sudo: required
dist: trusty
cache: cargo
addons:
artifacts:
paths: results
target_paths: master:$TRAVIS_BUILD_NUMBER
bucket: weld-travis-ci
s3_region: us-west-2
key: $AWS_ACCESS_KEY
secret: $AWS_SECRET_KEY
before_install:
- sudo -E apt-add-repository -y "ppa:deadsnakes/ppa"
- curl -sSL "https://apt.llvm.org/llvm-snapshot.gpg.key" | sudo -E apt-key add -
- echo "deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-6.0 main" | sudo tee -a /etc/apt/sources.list >/dev/null
- curl -sSL "https://build.travis-ci.org/files/gpg/travis-security.asc" | sudo -E apt-key add -
- echo "deb http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu trusty main" | sudo tee -a /etc/apt/sources.list >/dev/null
install:
- rustup component add rustfmt
- rustup component add clippy
- sudo rm -f `which llvm-config`
- export WELD_HOME=`pwd`
- sudo -E apt-get -yq update &>> ~/apt-get-update.log
- sudo -E apt-get --no-install-suggests --no-install-recommends -qy --allow-unauthenticated install gcc make llvm-6.0 llvm-6.0-dev clang-6.0 lib32z1-dev python2.7 python3.6 python-tk
- PATH=$PATH:/home/travis/.cargo/bin
- sudo -E apt-get -yq update
- sudo -E apt-get --no-install-suggests --no-install-recommends -qy --allow-unauthenticated install gcc make llvm-6.0 llvm-6.0-dev clang-6.0 lib32z1-dev python2.7
# - pip install virtualenv==15.1.0
# - bash -e build_tools/travis/init_virtualenvs.sh 2.7 3.6
# - git clone https://github.com/weld-project/weld-benchmarks.git
# - cd weld-benchmarks; TEST_HOME=`pwd` ./download-data.sh; cd ..
script:
- bash -e -x .travis/test_multi_version.sh 6.0 60.0.3 2.7