Skip to content

ORC-680: Upgrade Travis CI linux os from Ubuntu 14.04 to Ubuntu 16.04 - #559

Merged
dongjoon-hyun merged 1 commit into
apache:masterfrom
dongjoon-hyun:xenial
Oct 29, 2020
Merged

dongjoon-hyun merged 1 commit into
apache:masterfrom
dongjoon-hyun:xenial

Conversation

@dongjoon-hyun

@dongjoon-hyun dongjoon-hyun commented Oct 28, 2020 •

Copy link
Copy Markdown
Member

What changes were proposed in this pull request?

This PR aims to upgrade Travis CI from Ubuntu 14.04 to Ubuntu 16.04.

BEFORE
Screen Shot 2020-10-28 at 4 38 14 PM

AFTER
Screen Shot 2020-10-28 at 5 18 53 PM

Why are the changes needed?

Travis CI Trusty has a wrong javac. We should use JDK8 for javac. This is fixed with this patch.

$ java -Xmx32m -version
openjdk version "1.8.0_141"
OpenJDK Runtime Environment (build 1.8.0_141-8u141-b15-3~14.04-b15)
OpenJDK 64-Bit Server VM (build 25.141-b15, mixed mode)

$ javac -J-Xmx32m -version
javac 9.0.1

ORC-674 and ORC-675 removed Ubuntu 14.04.

How was this patch tested?

Pass the Travis CI.

@dongjoon-hyun dongjoon-hyun changed the title [WIP] Upgrade Travis CI linux os from Ubuntu 14.04 to Ubuntu 16.04 ORC-680: Upgrade Travis CI linux os from Ubuntu 14.04 to Ubuntu 16.04 Oct 29, 2020
@dongjoon-hyun
dongjoon-hyun marked this pull request as ready for review October 29, 2020 00:10
@dongjoon-hyun

Copy link
Copy Markdown
Member Author

This is a one-line to recover one of the CIs. I'll merge this to unblock the other PR.

@dongjoon-hyun
dongjoon-hyun merged commit 5cdd81a into apache:master Oct 29, 2020
@dongjoon-hyun
dongjoon-hyun deleted the xenial branch October 29, 2020 02:42
dongjoon-hyun added a commit that referenced this pull request Oct 29, 2020
…#559)

### What changes were proposed in this pull request?

This PR aims to upgrade Travis CI from Ubuntu 14.04 to Ubuntu 16.04.

**BEFORE**
![Screen Shot 2020-10-28 at 4 38 14 PM](https://user-images.githubusercontent.com/9700541/97508116-0fdff600-193c-11eb-8ca5-38b5738e4708.png)

**AFTER**
![Screen Shot 2020-10-28 at 5 18 53 PM](https://user-images.githubusercontent.com/9700541/97510302-ac58c700-1941-11eb-871e-5057a531feaa.png)

### Why are the changes needed?

Travis CI `Trusty` has a wrong `javac`. We should use JDK8 for `javac`. This is fixed with this patch.
```
$ java -Xmx32m -version
openjdk version "1.8.0_141"
OpenJDK Runtime Environment (build 1.8.0_141-8u141-b15-3~14.04-b15)
OpenJDK 64-Bit Server VM (build 25.141-b15, mixed mode)

$ javac -J-Xmx32m -version
javac 9.0.1
```

ORC-674 and ORC-675 removed Ubuntu 14.04.

### How was this patch tested?

Pass the Travis CI.

(cherry picked from commit 5cdd81a)
Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant